-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
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
MacOS crash when trying to Run project with corrupted custom icon (.icns) #78819
Comments
Thanks for the report and the testing done so far! Without a reliable way to reproduce it on our side, we'll be reliant on more testing from you to help narrow down what causes the issue, if you're willing. I'm not sure exactly how to debug things yet, but these are things you could try (or confirm if already tried) to help us narrow it down:
|
Thank you for your very thorough reply! But yes, I tried my project with all the version back to dev4. I tried dev3, dev2, and dev1, this morning, still the same error. I have completely removed those directories and had Godot create fresh ones before I made this report and it didn't fix anything sadly. I also have tried running my project with every renderer. Forward+, Mobile, and Compatibility. Still the same error. The last test I'll need to try is compile from source with debug symbols like you said, which will have to wait, as I am getting ready to leave for work. |
I have finally got time to build from source on my Macbook, here is the MacOS Crash Report, I built it with debug_symbols enabled. I would be willing to upload my project if someone wanted to peek at it, I just don't want it public as I don't know where I am going with this and if I do release it for purchase, I don't want the source floating around. |
I do have a custom icon set, I used an online generator to create one based on my icon I created. I cleared that and it seems to be working now. Whats strange, is that was so early on in the project, that it would have been working back then and at some point stopped working. And actually, I cannot share it, the file size is 0 and whenever I try and open it, it errors out. Some how my icns file got corrupted and I didn't even know it haha. |
Great! That should be fixable, but also doesn't sound too critical for 4.1 anymore since most users shouldn't have a corrupted custom icon. |
Godot version
v4.1.rc1.official [1f9e540]
System information
Godot v4.1.rc1 - macOS 13.3.1 - Vulkan (Mobile) - dedicated AMD Radeon Pro 5300M - Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 Threads)
Issue description
Here is the MacOS error report and the Terminal output when running my project from the terminal.
I have tested this on a new and clean project with only a Node2D as the root and a Sprite2D as a child, and the project Runs fine, so it has to be something I have done. I have no Shaders, no Particles, and the only thing left is trying to write to the user:// folder, but I have commented those out and it still crashes. My project currently consists of Control nodes, this project is mainly UI focused.
Oddly enough, I can build for iOS just fine, but when trying to export for MacOS it does the exact same crash, with the same error log. I only use my Macbook when I'm not at home, I usually use my desktop, which is running Windows 11 and it works just fine.
pycbouh over on Reddit had me try different versions and I went all the way back to 4.1 dev 4 and still the same issue.
Steps to reproduce
After selecting my project and the Editor opens, I click the Run button and it crashes back to the Editor. Usually no error in console, and sometimes MacOS will provide an error popup.
Minimal reproduction project
I would like to supply a reproduction project, but this project isn't something I am comfortable giving out publicly.
The text was updated successfully, but these errors were encountered: