-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 crashes when replacing built C# dlls #77370
Comments
I forgot to mention that even when the editor crashes, the dlls ARE built and updated correctly. |
Please reopen this issue. I was able to reproduce it on commit 3e88c4c, which is AFTER the commit that closed this issue. |
I dug out a mac to check if the issue is OS specific, but I still can not reproduce any issues with the provided project and reproduction steps. I was able to confirm that the send to debugger crash from your screen shot is indeed fixed on commit c670c43 (and yes I did confirm that I can trigger the crash on an older commit) Please ensure that you are indeed running a build from a commit that includes that fix (the official dev3 build should do it, didn't test it specifically tho). If the crash truly does persist, please post the output from |
@RedworkDE Strange. I tested latest master again (95c8216) and it still crashes. No changes to the editor, just a normal mono build. Still get the crash upon modifying a script and building the project again.
|
Still need an updated crash log (as text this time please) and godots terminal output, or there isn't really anything that can be said about this issue. |
@RedworkDE Interestingly, the crashing has become inconsistent... But it still happens frequently. Seems if the editor doesn't crash on first build, it won't on subsequent ones either. Not pasting the crash report as plain text as it is simply too massive... Godot terminal output (not sure if this just the project selector output, since it seems that launches a separate process...):
|
@RedworkDE Could be related to this issue #69614 |
No, the errors you see at exit are #76708, and should not be related to any crash. |
Godot version
5dc093b
System information
macOS 13.3.1
Issue description
Note: I first encountered this issue in 4.0.3-rc (didn't use Godot 4 versions before that) and reproduced it on the commit noted above. I did not have this issue on Godot 3.
When I started using Godot 4 and converted my C# Godot 3 project, I noticed it crashed when I tried to build. A lot of testing later, and I figured out that my editor crashes, exactly when:
.godot/mono/temp/bin/Debug
This means building a new project does not crash (because there are no dlls to overwrite). A non-clean build afterwards does crash. However, cleaning the build manually (deleting
.godot
or any part of its substructure) only prevents the crash if the editor is closed. So, "build -> make change -> delete.godot
-> build" crashes the editor, but "build -> make change -> delete.godot
-> close and reopen editor -> build" does not crash the editor.Crash image and full log attached:
Editor Crash Report.txt
Steps to reproduce
Minimal reproduction project
MRP.zip
The text was updated successfully, but these errors were encountered: