GECS Version
5.1.0
What happened?
In entity.gd:166 component_removed.emit(self, component_instance) emit component_instance which resource_path is null.
Therefore in world.gd:898 if watch_component and watch_component.resource_path == component.resource_path is always false.
Wonder this should be correct: entity.gd:166 component_removed.emit(self, component)
Steps to Reproduce
- add entity and observer
- add component
- remove component
- observe observer on_component_removed never run