fmod-gdextension
fmod-gdextension copied to clipboard
Addon crashes when changing scenes (Godot 4 only)
Godot version: 4.0.2 Addon version: 5baf5d86008e2aa9584261e9f518a689a6d488b5
Changing scenes in Godot 4 is currently not quite working. There are two issues that I was able to reproduce in the demo project: https://github.com/utopia-rise/fmod-gdnative/tree/scene-change-crash
Issue 1: changing to a different scene will crash the game silently
After some debugging it seems to happen inside Fmod.update()
function. There are no logs as it simply crashes silently. Click the "Change to other scene" button on the branch linked above to reproduce!
Issue 2: reloading the current scene will spam thousands of errors
When unloading and reloading the current scene instead, the game does not crash but thousands of errors are being produced over time.
Click the "Reload current scene" button on the branch linked above to reproduce!