Godot Version
Godot V4.6stable.official
Question
Hello! I'm trying to use @export on a Resource in an inherited class, but after assigning the export value in the inspector, when running the game the value in the variable is just <null>. This seems to only be a problem with the inherited classes. When I ran the same thing in the parent class the resources loaded just fine.
class_name Cat extends Node
@onready var _sprite = $Sprite2D
@onready var _health_label = $HealthLabel
@export var test3: Resource
@export var test4: CatData
class_name LazyCat extends Cat
@export var test: Resource
@export var test2: CatData
Local Values
Remote Values
For added context there is absolutly nothing else in the lazy_cat.gd script except for what was shown above.
Any insights or suggestions on this will be appreciated. Thank you!



