Godot version
4.2
godot-cpp version
4.2
System information
Windows 11
Issue description
When a custom resource is defined, such as:
class MyResource : public Resource {
GDCLASS(MyResource, Resource);
};
The _notification method is never dispatched with NOTIFICATION_POSTINITIALIZE like it is in Godot / GDScript.
Steps to reproduce
Create MyResource as outlined above using:
Ref<MyResource> r;
r.instantiate();
or using memnew
MyResource *r = memnew(MyResource);
In neither case is the NOTIFICATION_POSTINITIALIZE fired.
Minimal reproduction project
N/A
Godot version
4.2
godot-cpp version
4.2
System information
Windows 11
Issue description
When a custom resource is defined, such as:
The
_notificationmethod is never dispatched with NOTIFICATION_POSTINITIALIZE like it is in Godot / GDScript.Steps to reproduce
Create
MyResourceas outlined above using:or using
memnewIn neither case is the NOTIFICATION_POSTINITIALIZE fired.
Minimal reproduction project
N/A