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

Game closes when reloading scene while using yields #4658

Closed
EdwardAngeles opened this issue May 14, 2016 · 3 comments
Closed

Game closes when reloading scene while using yields #4658

EdwardAngeles opened this issue May 14, 2016 · 3 comments

Comments

@EdwardAngeles
Copy link

EdwardAngeles commented May 14, 2016

Ubuntu Gnome / Linux - Build from source (last commint).

I have this piece of code running:
screenshot from 2016-05-14 19-24-04

And if I try to reload the current scene (get_tree().reload_current_scene()) the game closes without dropping any errors.

I also try with get_tree().call_deferred("reload_current_scene"), no luck either.

sample project is in this comment: #4658 (comment)

EDIT:
It does the same with the yield waiting for idle_frame.

@kubecz3k
Copy link
Contributor

kubecz3k commented May 16, 2016

It would be great if you could provide some minimal example project, it always saves time of core developers if only thing they need to do to reproduce is to download and run (btw it's good idea to use default issue template when you are creating new issue).

@kubecz3k kubecz3k changed the title Project closes when reloading scene while using yields Game closes when reloading scene while using yields May 16, 2016
@EdwardAngeles
Copy link
Author

Here is a little test: Test.zip

@vnen
Copy link
Member

vnen commented Jun 17, 2016

This is the same as #5247. And since I already posted my thoughts in there, I'll close this one.

@vnen vnen closed this as completed Jun 17, 2016
@vnen vnen added the archived label Jun 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants