2ship crashes when toggling alt assets when paused.
Can you reproduce? If so please list the steps:
[ ] No, I cannot reproduce this crash
[x] Yes, here are the steps to reproduce the crash:
Pause the game
Press Tab or Toggle Alternate Assets a number of times
Crash / Softlock
Logs:
Stack trace shows a infinite loop in deconstructing the frame interpolation record struct.
System Information:
OS: Mac / Windows (most likely Linux)
GFX Backend: All
Game Version: 1.1.0
Rom Version: N64
Additional Information:
This happens regardless of having any mods loaded.
ASAN suggests in LUS that gfx_sp_tri1 is accessing memory in rendering_state.textures that was de-allocated by gfx_texture_cache_clear. This function gets called when alternate assets is changed.
Description of the crash:
2ship crashes when toggling alt assets when paused.
Can you reproduce? If so please list the steps:
Logs:
Stack trace shows a infinite loop in deconstructing the frame interpolation record struct.
System Information:
Additional Information:
This happens regardless of having any mods loaded.
ASAN suggests in LUS that
gfx_sp_tri1
is accessing memory inrendering_state.textures
that was de-allocated bygfx_texture_cache_clear
. This function gets called when alternate assets is changed.