Starting from 4.3 beta 1, there's a weird issue that prevents the scripts instantiated in a variable from calling their own instance functions (method not found error). However, it "works" when you make the function static. Our project relies on that and doesn't work at all now.
While the functions can't be called in 4.3 beta 1 and newer, they can be printed to console just fine.
I have searched for a similar issue here, but with no results. If it's a duplicate, please close the issue.
Screenshots and minimal reproduction project are attached below
4.3 dev 6, works fine:
4.3 beta 2:
Steps to reproduce
Create a class that extends the GDScript class with abstract methods for _ready, _process, _physics_process, etc
Tested versions
4.3 beta 1
and4.3 beta 2
4.3 dev 6
and4.2.2 stable
System information
Linux - Freedesktop SDK 23.08 (Flatpak runtime) - Wayland - Vulkan (Mobile) - dedicated AMD Radeon RX 6700 XT (RADV NAVI22) () - 12th Gen Intel(R) Core(TM) i5-12400F (12 Threads)
Issue description
Starting from
4.3 beta 1
, there's a weird issue that prevents the scripts instantiated in a variable from calling their own instance functions (method not found error). However, it "works" when you make the function static. Our project relies on that and doesn't work at all now.While the functions can't be called in
4.3 beta 1
and newer, they can be printed to console just fine.I have searched for a similar issue here, but with no results. If it's a duplicate, please close the issue.
Screenshots and minimal reproduction project are attached below
4.3 dev 6
, works fine:4.3 beta 2
:Steps to reproduce
_ready
,_process
,_physics_process
, etc4.3 beta 1
or newer versionsMinimal reproduction project (MRP)
gd-bug-reproduction.zip
This project is built in
4.2.2 stable
, so you can test it in 4.2.x as well