Hi, I currently have it set up so that once completing the last level of my game, it sends a msg.post to load a ‘you win’ collection screen. The issue I’m having is that the ‘you win’ collection, when loaded, is just a black screen. On my last level, I’m using an orthographic camera.
Any help would be appreciated, will happily provide any info needed.
If the camera is part of the level collection and you unload the collection then you no longer have a camera reporting view and projection updates to your render script. When your “you win” collection is loaded the render script should use the last view and projection from your level and that might mean that you render something in a completely different location from your win collection. Try putting a camera in your win collection too.
Do you have more than one camera active? I thought you unloaded the collection containing the other camera?
It could perhaps also be a different kind of problem you have. Impossible to tell without seeing more of the project. You can try sharing a minimal version here.
I definitely did unload the other collection. By the second part did you want me to sort of recreate the two collections in a separate project for you to see?