dd29447f44
The `Engine::Singleton` struct stores a raw `Object *`, so registering a `RefCounted` only works if some external `Ref<>` keeps it alive. This pattern is fragile and can lead to UB, especially with GDExtension.