I wrote two custom components, one is a node component and another is the scene component. Let’s name them myBody and myWorld, kinda like PhysicsWorld that takes care of all collision shapes and rigid bodies, myWorld takes care of all myBodies. And just like in RigidBody.cpp, myBody uses GetOrCreateComponent to register into myWorld.
Problem is, I sometimes getting multiple instances of myWorld and it breaks everything. Did I missed something in registration process? Can anyone hint me on how Urho does this check for its native subsystems?