Nothing happens when I press play
Hello everyone I am making my first game, things were going well but suddenly nothing happens when I press play, I have already update to the newest unity version but it persists.
I have the main camera selected, layers seem fine, I rested the camera position and also tried to switch to 3d view. Do you have any idea on how to fix this?
You can download the game project file here: https://www.dropbox.com/s/0c64y0ats33f79i/Energy%20Manager.rar?dl=0
Any help is very much appreciated.
Answer by mikelortega · Dec 28, 2015 at 03:18 PM
Open "scene1" and add it to the project. This way:
Double click "scene1" to open
File -> Build Settings -> Add Open Scenes
Then pressing play will work.
Actually, that's only necessary for Builds, not the Editor play button. Note "Build Settings".
Answer by Claudioa · Dec 28, 2015 at 06:40 PM
So, I found the scene1 and opened it, something is showing up now despite the fact the game is not working yet probably due to the script so I think it solved it. Thanks!
I get this now; NullReferenceException: Object reference not set to an instance of an object Assets.Code.States.PlayState.ShowIt () (at Assets/Code/States/PlayState.cs:36) StateManager.OnGUI () (at Assets/Code/Scripts/StateManager.cs:22)
But I think it is for another discussion, thanks!
Yes, you can open a new Question and share your project with the changes if you want. Someone will probably help.
Your answer
Follow this Question
Related Questions
Reload Assemblies making enterplaymode take long 4 Answers
Maximize on Play and Game Build Issue 0 Answers
how do i zoom in on game view when not in play mode? 0 Answers
Editor hangs (freezes) after pressing play. Possible loop? Have to force quit. 1 Answer
Play mode unit test not showing result 0 Answers