Crash when calling methods C++ due to GDExtension API break between 4.0 and 4.0.2 #1107
Labels
archived
bug
This has been identified as a bug
topic:gdextension
This relates to the new Godot 4 extension implementation
Game crashes when calling
play()
from an AnimationPlayer, AudioStreamPlayer3D, AudioStreamPlayer2D, or AudioStreamPlayer via a GDExtension Class. Log provides the following error:This occurs in both mono and standard Godot 4.0.2 versions. It seems to have been introduced in 4.0.2, as the
play()
method functions properly in 4.0.1 and 4.0. The crash only happens when the method is called from C++; GDScript calls function normally with no apparent issues. I have not tested calling from C#.Strangely enough, no other methods seemed to cause any issues with those nodes: only
play()
. Have not tested any other nodes that have aplay()
method.The text was updated successfully, but these errors were encountered: