-
Notifications
You must be signed in to change notification settings - Fork 45
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
Editor crash when rebuilding GDJ files #577
Comments
I now also run frequently into this issue. |
@chippmann Reloading the main jar file sounds plausible. What I find very strange is this (at least from the trace I've posted above, maybe there are also other causes):
The engine is trying to load/instantiate a class with an empty name. Now I'm not a C++ expert by any means, but that sounds invalid. If we can't figure out the true cause right away, could we at least wrap it into a |
Yeah i agree. But first I'd like to investigate a bit before applying such a workaround |
We're going to make reloading happen on cpp side so this error should go with it. |
The following happened while I was rebuilding my Kotlin project (and the GDJ files) while the godot editor was open:
I'm still on version I don't know if this is related or not, but the consequence was the same: immediate editor shutdown. |
We discussed this a bit and we think we cannot easily fix this issue atm. A simple try catch also does not really resolve the problem. We could mitigate it to some degree but the effort required is probably better invested in an "actual" fix (see below). TLDR; could take a bit until this is fixed |
Cpp reloading was implemented with #621 and thus this issue should be resolved as well. |
Every now and then it happens that the godot editor crashes while I rebuild my kotlin files. Here's the trace:
I've found no way so far to consistently reproduce this error, it is pretty rare. However, it immediately crashes the editor, losing unsaved changes in the process, so it is cumbersome to deal with.
In the case above, I merely edited some existing kotlin files. No new ones were added, no existing ones were deleted, and no exposed properties or method signatures have changed.
The text was updated successfully, but these errors were encountered: