While working on a project, I reverted some file changes, and now whenever I try to open the project in the Defold editor, it crashes. No dialogs. Nothing. It just starts to load the project files and then stops and goes bye-bye. (EDIT: Just tried it in 1.12.0 and it fails at the same point it seems.)
(I have no idea if the reversion is correlated, but that seems to have been the trigger. I was getting a crash message in the Defold console prior to reverting the changes that might remain…?)
Is there a start-up log I can examine to see what the issue might be (like, what file is causing it to glitch out)?
I obviously can’t do a clean build. Is there a way to do so from the start-up project selector?
Yes, thank you! I found the log files. There were error messages that Gemini was able to help me diagnose, and the issue is resolved! I had a .gui file that was malformed, and now it’s all fixed. I’m not sure it’s something that should completely crash the IDE though. Here’s the important part of the log:
Yes, that would be preferable. Do you by any chance still have the corrupted project? If so, please open an issue on GitHub and attach the project (or share it directly with me: bjorn@defold.se)
Unfortunately, I don’t have it. I even looked in my repo and can’t find any messages about it.
But it was simply a matter of having a bad field in that keybindings.gui file. I think my AI editor might have hallucinated a valid field and plopped it in there.
I’m trying to duplicate the issue in one of the tutorial projects, but I can’t get the IDE to crash. It does warn me about the bad field in the *.gui file, but that’s when I try to build it, not when I open the IDE.
If I encounter it again, I will be sure to post more details here or to your email.