Crash with last page of specific song in editor mode - error message asks for reporting
rosepetaldevourer opened this issue · 2 comments
Actual behaviour
Game crashes after checking final page of a specific song file in editor mode.
Expected behaviour
No crash
Steps to reproduce
- Open the ultrastardx.exe
- Select Sing.
- Select song Ann Lee - 2 Times
- Press E to go into editor mode
- Press Up key to get to the last page of the song
- Crash happens.
Details
Error message window asking to report issue:
Error log after first crash:
Error.log
-
USDX version: 2024.5.1
-
Operating System + version: Edition Windows 10 Home
Version 22H2
Installed on 23/02/2021
OS build 19045.4529
Experience Windows Feature Experience Pack 1000.19058.1000.0
Something is wrong with one of the two OpenGL matrices or the OpenGL viewport. The calculated mipmap level is so large or so negative that it doesn't fit into 32 bits.
We could avoid the exception by clamping the value before it is converted into an integer, but that would just hide the underlying problem. Maybe log the input values when the result is seriously out of range?
Btw., the line number 1419 is wrong. The exception happens in 1283.
@rosepetaldevourer, please try this build: https://github.com/UltraStar-Deluxe/USDX/actions/runs/10767894246/artifacts/1907553654
It will still crash, but the Error.log file will help us find the cause.