Open ericlathrop opened 8 years ago
Yeah, it shouldn't crash when you switch to it. It should just pretend there's no entities.
On March 28, 2016 11:24:29 AM EDT, Matthew Caldwell notifications@github.com wrote:
Can you give more info? It doesn't crash for me when I don't have a scene in entities unless I try to switch to that scene... What are you wanting it to do when you try to switch to a scene with no entities?
You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/SplatJS/splat-ecs/issues/31#issuecomment-202438315
This partially works... I was able to successfully load a test scene as "first" and then in the onEnter script switch scenes back to the main scene without it crashing. When trying to load the empty scene it just sits with the loading bar full and no errors in the console.
Can you give more info? It doesn't crash for me when I don't have a scene in entities unless I try to switch to that scene... What are you wanting it to do when you try to switch to a scene with no entities?