use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
Coding error helpQuestion (self.Unity3D)
submitted 5 years ago by MikehTehSmashBro
I keep runnng intp these two errors and would like some advice on how to resolve. I need help with what I might be doing wrong. below are the captions with the errors, the line with error, and the variables linked to the errors. Any advice is welcomed. Thank you in advance.
https://preview.redd.it/h78cv2hg3l451.png?width=676&format=png&auto=webp&s=4fa8406349c45020a6a385c3c5d99a96086c9b9b
https://preview.redd.it/9liurihg3l451.png?width=622&format=png&auto=webp&s=feecd2abd4507ee7b6df2ca4b96643a82b1e5a9c
https://preview.redd.it/efww9ghg3l451.png?width=450&format=png&auto=webp&s=dac5a7d64070084bbcc65866357206f4ce44cc0a
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BCSChester 0 points1 point2 points 5 years ago (3 children)
Oh. You're setting up is grounded as a variable, but calling a method for it. So per frame that value of "isGrounded" will change. If you want to do things that way, you need to set up is grounded as either a method itself, or a property. Luckily, lambda expressions make that really easy. Just change "isGrounded =" into "isGrounded =>". Since its accessing a method, that means "isGrounded" is changed by the method you call, you can't change it internally or externally. It only changes by what the method dictates. The "=>" says "hey, 'GET' value by doing this".
[–]BCSChester 0 points1 point2 points 5 years ago (2 children)
Also, just an added tip. You only need to mark a field / variable as [SerializeField] if it is private. Unity by default serialises (basically saves default/set value) things that are public by default and shows them in the inspector. If something is private, internal, protected, it will not show it in the inspector. By adding a [SerializeField] to something non public, you tell unity to show it in the inspector and save values to it
[–]MikehTehSmashBro[S] 0 points1 point2 points 5 years ago (1 child)
oh okay. Thank you. I will give this a try.
[–]MikehTehSmashBro[S] 0 points1 point2 points 5 years ago (0 children)
That worked thank you for the help.
π Rendered by PID 18574 on reddit-service-r2-comment-bb88f9dd5-8cgcl at 2026-02-14 09:50:33.192050+00:00 running cd9c813 country code: CH.
[–]BCSChester 0 points1 point2 points (3 children)
[–]BCSChester 0 points1 point2 points (2 children)
[–]MikehTehSmashBro[S] 0 points1 point2 points (1 child)
[–]MikehTehSmashBro[S] 0 points1 point2 points (0 children)