Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't crash when a scene isn't defined in entities.json #31

Open
ericlathrop opened this issue Mar 5, 2016 · 3 comments
Open

Don't crash when a scene isn't defined in entities.json #31

ericlathrop opened this issue Mar 5, 2016 · 3 comments
Labels

Comments

@ericlathrop
Copy link
Member

No description provided.

@CaldwellYSR
Copy link
Contributor

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?

@ericlathrop
Copy link
Member Author

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 [email protected] 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:
#31 (comment)

@CaldwellYSR
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants