-
Notifications
You must be signed in to change notification settings - Fork 81
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 upon loading a save #65
Comments
Duplicate #43 |
It'll show it if you were to run it from the terminal, but only for the debug build, not really ideal. Currently, they've opted to crash the program rather than show an error message in the GUI since it's less work. |
Also a duplicate of #56 |
I had this problem today and did some digging. While reading the save file, the code was reading some insanely large value for the projectile_count of a character and then went out of bounds in the next for loop: // Distinct Projectile Count
equip_projectile_data.projectile_count = br.read_i32()?; // was reading something like 16980419
// Quick slot items
for _i in 0..equip_projectile_data.projectile_count { // obviously crashed
equip_projectile_data.projectiles.push(EquipProjectile::read(br)?);
} After some investigation, my theory is that the game only updates the character data in the save file when that character has been loaded after the update. (tested on master version at 014107f, not on release 0.0.21) |
I'll close this as a duplicate of #43 . There's a bunch of forks with hot fixes for different versions of the game. |
During the process of me loading a save :
The crash does not show any error messages, it just outright closes
The text was updated successfully, but these errors were encountered: