-
Notifications
You must be signed in to change notification settings - Fork 19
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
Game crashes sometimes on scene change #2821
Comments
It always seems to be for the "aggregate achievement" achievement triggering the crash -- the one that checks for all of the dependent achievements. |
Maybe we should check achievements differently? This method optimistically assumes the method will always return a dictionary with an |
I've made a new version of the game which checks these On Monday, I playtested for 12 hours and the game didn't crash once. On Tuesday, it crashed 2 or 3 times for me! All of the crashes for me were during levels in Starberry Mountain.
|
This may be related to Godot #85692. We could try adjusting |
This seems to be happening less frequently after the recent changes, but it is still affecting some users. One user says it seems to be growing more frequent; the simplest explanation for growing more frequent over time would be that it's tied to save file size. Let's experiment with making the save file very large, or having them change save files. |
I've removed the ResourceCache singleton logic; while I never had any evidence this was broken, it's kind of a weird nasty thing I probably shouldn't be doing. |
It's been about 2-3 weeks since anyone reported a scene change crash, I think the ResourceCache singleton logic fixed most of them. I encountered a crash within the Godot editor about five days ago, so I'm leaving logging enabled there to see if I can track that down. But for now, I'm downgrading this to a 3 and removing it from the milestone since it doesn't seem to be affecting players anymore. |
In Adventure mode, I finished a level in Starberry Mountain. Instead of being dropped back to the map screen, the game crashed.
godot2024-10-15T12.34.30.log
godot.log
godot(4).log
The logs apparently show that the game was in the process of retrieving the achievement status for many achievements.
The text was updated successfully, but these errors were encountered: