I am not able to instantiate regular GameObject in Unity ECS. When I write code to Instantiate the regular GameObject in MonoBehaviour class, the unity creates a new object in the entities sub-scene in Hierarchy. However, I can’t see the object.
When I stop the play mode, I can see the object is visible in editor mode.
When I click play again, I can see the object is visible in play mode as well.
However, any change to the object does not take effect in play mode.
In addition, the object stays in the hierarchy after I exit the play mode. I need to manually delete it from the entities sub scene in Hierarchy panel every time.
Is this expected?