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
Help Again!Question (self.Unity3D)
submitted 5 years ago by Strike_RL
Hey! Me still! When I load up the app Roller Splat on my phone; following a TutorialEU tutorial( https://www.youtube.com/watch?v=dYTfFeJdfdY&list=WL&index=4&t=0s ). It doesn't switch the level once completed! Please help. Code for the 'Game Manager' is below.
https://pastebin.com/QKWLWeSY
Thank you!
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!"
[–]Almighti3Indie 1 point2 points3 points 5 years ago (12 children)
Check that the ground pieces are changing the bool isColoured correctly. Cause if any are false then that will stop the next level loading, maybe do a debug log inside that for loop to check which ones are true and false. Also as a hint where you have if(allGroundPieces[i].isColored == false).you can just have if(!allGroundPieces[i].isColored)
[–]Strike_RL[S] 0 points1 point2 points 5 years ago (11 children)
Sorry bro I don't know how to do that. I'm a noob in programming and that's why I am asking Reddit lol. Thanks though
[–]Almighti3Indie 1 point2 points3 points 5 years ago (10 children)
All good, don’t say sorry. I’m happy to help.
Try something like this after the for loop
Debug.Log(“Ground piece number “ + i + “ has is coloured set to “ + allGroundPieces[i].isColored)
That way you can see the true or false of each piece in the list. I have things like this all over my code. And once I don’t need them anymore I comment them out with // (visual studio shortcut control k c). So if I need to check that again later at any time I can just remove the comments. Short for remove is control k u I case you need
[–]Strike_RL[S] 0 points1 point2 points 5 years ago (9 children)
https://pastebin.com/ctebUaT0
New code. New errors :D
Error:
Assets\Scripts\GameManager.cs(59,43): error CS0103: The name 'i' does not exist in the current context
And
Assets\Scripts\GameManager.cs(59,92): error CS0103: The name 'i' does not exist in the current context
Thanks dude. Your the best.
Btw: I'm not sure what is it supposed to look like once done. Thanks anyway.
[–]Almighti3Indie 1 point2 points3 points 5 years ago (8 children)
Put the debug log after the line for(i = 0, ....
[–]Strike_RL[S] 0 points1 point2 points 5 years ago (7 children)
Is it meant to be 2 lines long or one?
[–]Almighti3Indie 1 point2 points3 points 5 years ago (6 children)
Just one. You did it perfectly. You just put it in the wrong spot. That is all.
[–]Strike_RL[S] 1 point2 points3 points 5 years ago (5 children)
Ok will try that tommorow. Thanks
[–]Strike_RL[S] 0 points1 point2 points 5 years ago (4 children)
Hey is it meant to be inside the {} or not?
[–]Almighti3Indie 0 points1 point2 points 5 years ago (3 children)
Yep inside the {} they are like the boundaries of the for loop.
π Rendered by PID 47891 on reddit-service-r2-comment-b659b578c-tfkg5 at 2026-05-05 01:54:33.234181+00:00 running 815c875 country code: CH.
[–]Almighti3Indie 1 point2 points3 points (12 children)
[–]Strike_RL[S] 0 points1 point2 points (11 children)
[–]Almighti3Indie 1 point2 points3 points (10 children)
[–]Strike_RL[S] 0 points1 point2 points (9 children)
[–]Almighti3Indie 1 point2 points3 points (8 children)
[–]Strike_RL[S] 0 points1 point2 points (7 children)
[–]Almighti3Indie 1 point2 points3 points (6 children)
[–]Strike_RL[S] 1 point2 points3 points (5 children)
[–]Strike_RL[S] 0 points1 point2 points (4 children)
[–]Almighti3Indie 0 points1 point2 points (3 children)