Scene loading problems

Hello !

I have problems with scene loading, in my main menu I click on new game and it starts the scene nicely, I then quit the scene to go back to the main menu. Then I click on new game again and it starts the scene but with a black screen or it loads the 3d elements of the main menu without UI.

It works perfectly in the editor :frowning:
Has anyone got this problem ?

Thank you !

Since we know scene loading works and hasn’t stopped working, looks like you wrote a bug.

That means it is time for you to start debugging!

By debugging you can find out exactly what your program is doing so you can fix it.

Use the above techniques to get the information you need in order to reason about what the problem is.

You can also use Debug.Log(...); statements to find out if any of your code is even running. Don’t assume it is.

Once you understand what the problem is, you may begin to reason about a solution to the problem.

Once you find out more than “I have problems with scene loading,” this is an excellent template to follow when reporting technical issues:

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

This is the bare minimum of information to report:

  • what you want
  • what you tried
  • what you expected to happen
  • what actually happened, log output, variable values, and especially any errors you see
  • links to actual Unity3D documentation you used to cross-check your work (CRITICAL!!!)

The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven’t put effort into finding the documentation, why should we bother putting effort into replying?