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 I have a class that is marked as a GlobalClass for the purpose of being added as a node in the inspector, and that class inherits from an abstract class that is not marked as a GlobalClass, an error will be shown despite the whole process actually working successfully (derived note shows up and can be created).
The issue is logical, the engine has the top-most class showing up in its node list, yet it cannot determine its base class since the attribute is missing and thus the engine has no knowledge of what the base class is. If there was a way to check both a. Is a Node and b. inherit.isEmpty, then we can assume that the engine is missing a class and should show a proper error explaining that.
Steps to reproduce
Create abstract base class inheriting from Node.
Create derived class inheriting from base class.
Make derived class [GlobalClass].
Try to create a child node in the editor.
Minimal reproduction project
This project should show the error if the Create Node window is opened.
Godot version
v4.1.1.stable.mono.official
System information
Godot v4.1.1.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 31.0.15.4584) - AMD Ryzen 7 7700X 8-Core Processor (16 Threads)
Issue description
If I have a class that is marked as a GlobalClass for the purpose of being added as a node in the inspector, and that class inherits from an abstract class that is not marked as a GlobalClass, an error will be shown despite the whole process actually working successfully (derived note shows up and can be created).
The issue is logical, the engine has the top-most class showing up in its node list, yet it cannot determine its base class since the attribute is missing and thus the engine has no knowledge of what the base class is. If there was a way to check both a. Is a Node and b. inherit.isEmpty, then we can assume that the engine is missing a class and should show a proper error explaining that.
Steps to reproduce
Minimal reproduction project
This project should show the error if the Create Node window is opened.
Test.zip
The text was updated successfully, but these errors were encountered: