In my project, I have an empty game object called UI (which incompasses all the UI in the scene) and in it, I have the canvas followed by some panels. In the editor, the panels don’t show up when you first load the scene (from another scene), even though they are enabled in the inspector. They only work right if you load the scene from the start of the game (and not come from another scene). Is this a known bug and is it only applicable to the editor?
It works fine if you disable, then re enable the UI object in the inspector.
The workaround I have is to disable the UI object and re enable it within the Awake function. That way it is visible when loading the scene after leaving another scene. But is there a reason for why this happens?
Using Unity 5.6.0f3 (happened in 5.5.0b2 as well). Happens in any scene with multiple panels. Does not happen with only one panel.
- Chris