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
publicclassTest:Control{publicoverridevoid_Ready(){RStatisticsr=new RStatistics();
r.kills =100;
ResourceSaver.Save("test.tres",r);varloaded= ResourceLoader.Load("res://test.tres")as RStatistics;// also tried with ResourceLoader.Load<Rstatistics>() same error
GD.Print(loaded.kills);}}
Godot version:
3.2.4 beta 6 mono
OS/device including version:
Windows 10 x64
Issue description:
I've created a custom resource, but when loading, got a casting or invalid class name error.
Steps to reproduce:
Minimal reproduction project:
New Game Projects.zip
The text was updated successfully, but these errors were encountered: