Inner class serialization issue

Godot Version

v4.2.1.stable.official [b09f793f5]


Hello, while I was using inner class, it came to my attention that loading exported data wasn’t giving the output I was waiting for

I did an MRE that you can find here

The summary is that the data are visible in the tres file but the class subresource is defined as:
[sub_resource type="GDScript" id="GDScript_ano1m"] and that’s all

This problem is easy to dodge but it feels weird that it’s the behavior intended so I wanted to report it here to gather opinions before adding to the mountain of already open github issues

Thanks every one for your time!

You can’t save subclasses, see here

1 Like

Indeed, once again, the quality doc had all the answers

Thanks a lot and sorry about my poor research skills

1 Like