Open keithrdavis opened 1 year ago
By "upon exporting", do you mean that only the exported project crashes, or does the editor crash when you export the project?
The editor crashes during the export process. All that remains of the export is a tmp file e.g. Trolls.tmp no executable is created.
If I set ProjectSettings -> Editor -> Export -> Convert Text Resources to Binary to "Off", the project exports.
Linux and Windows have the following errors when exporting:
Windows: Cannot erase nonexistent section "params". rcedit (/Users/krdavis/Projects/Trolls-Godot/Trolls.tmp): 014c:fixme:ver:GetCurrentPackageId (000000000011FDA0 0000000000000000): stub
Cannot erase nonexistent section "params".
Linux: Cannot erase nonexistent section "params".
MacOS export runs without issues; however, exports to Windows and Linux crash. Windows cannot initialize video driver and Linux crashes with a seg fault.
To summarize: I can export the project to Windows, MacOS and Linux with Convert Text Resources set to false. Running the exported binaries: Runs on MacOS but fails on Windows and Linux.
I was able to track down the exported apps crashing on Windows and Linux due to video driver issues on my VMs. They work on real machines.
There is still the export process issue that is causing the editor to crash that I originally reported.
Sorry for any confusion.
Godot version
4.0.2
System information
MacOS 13.3.1, M2 Macbook Air
Issue description
Upon exporting (template versions match Godot version) to Linux, MacOS or Windows the editor crashes (report at end of post). Nothing of note is reported when running the editor from the command line with --verbose.
My log when running in the editor shows the following:
I am cleaning up resources upon game exit (debugging shows this is being called):
Crash report:
Steps to reproduce
I can't make it happen with an MRP. The game runs fine in the editor, the crash occurs on export. Could the crash be because of the resource errors or is it a bug?
Minimal reproduction project
N/A