I have a game with several scenes that load using addressables:
- A persistent scene that stays loaded with things like the main camera and certain common game systems.
- A lobby scene
- A game scene
- A non-addressable scene that loads first of all
The game loads the persistent scene, which then additively loads the lobby scene. The lobby scene then loads the game scene (when the user clicks something).
Lobby loads the game scene in additively, and then is unloaded.
The game scene has a world UI in it with several UI Image components. There are no sprites set, so they are a solid color. If I load directly into the game, those UI Images remain the expected solid color.
Problem:
If I follow the typical game flow and load Non-Addressable Scene->Persistent → Lobby → Game, then the UI Images don’t show up anymore unless I set a sprite in them. The camera from Persistent is automatically set on the canvas so that’s not an issue. Has anyone seen this before and figured out the issue? Is it a Unity 6 bug?
We got a real problem here, folks. Somebody save me.