You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your class doesn't have a parameter-less constructor, then the engine has no idea how to deserialize and initialize it. It doesn't know what to pass to the constructor, and thus it cannot create an instance. Making your arguments optional should work.
Godot version
godot 4.0 beta 13 (caacade)
System information
Windows 10
Issue description
Custom resources with _init defined with parameters turns into null on start
If _init does not have parameters, this issue wont happen
Steps to reproduce
Minimal reproduction project
minimalreproductionproject.zip
The text was updated successfully, but these errors were encountered: