fmod-gdextension icon indicating copy to clipboard operation
fmod-gdextension copied to clipboard

Addon crashes when changing scenes (Godot 4 only)

Open bitbrain opened this issue 1 year ago • 0 comments

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

fmod-bug-0

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.

fmod-bug-1

Click the "Reload current scene" button on the branch linked above to reproduce!

bitbrain avatar Apr 10 '23 13:04 bitbrain