Open
Description
@RegisterClass
class Sample : Node2D() {
@RegisterProperty @Export lateinit var node: Parent
}
@RegisterClass
abstract class Parent : Node2D() {
}
@RegisterClass
class Child : Parent() {
}
Modify Parent to a normal class, then you can assign.
@RegisterClass
open class Parent : Node2D() {
}
By the way, when I made the change, after building, the editor crashed,here's the error log.
hs_err_pid23860.log