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

Crash On Trying to Add Scene as Child #481

Closed
Tracked by #4778
SolarLune opened this issue Jun 2, 2014 · 2 comments
Closed
Tracked by #4778

Crash On Trying to Add Scene as Child #481

SolarLune opened this issue Jun 2, 2014 · 2 comments

Comments

@SolarLune
Copy link

Hey, there. So I'm having a crash when I attempt to add a scene as a child of a node through code (instancing the scene and then adding it as a child).

https://copy.com/mGhEOkNhTHEN1dC3

EDIT: Oh, to recreate the crash, just play the currently edited scene. I thought this had something to do with not having a main scene, but that doesn't seem to be the case. Oh, well.

I'm running:

AMD Athlon II X2 250 3.0 GHZ Processor
Windows 7 64-bit
4GB RAM
AMD Radeon HD 7750
Godot Win 32-bit 1.0 Development version from the homepage, 5/29/14

@TheoXD
Copy link
Contributor

TheoXD commented Jun 21, 2014

Kinda late answer, but this happens because you haven't set a name for the scene2 yet (root node). Instead it should use the name of it's type "Spatial" but it doesn't. To come around this issue you can rename the root node once in editor or by code.

@reduz
Copy link
Member

reduz commented Sep 21, 2014

probably fixed at this point, as i can't reproduce it

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

No branches or pull requests

3 participants