You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var goe = GetComponent<GameObjectEntity>();
goe.EntityManager.AddComponent(goe.Entity, typeof(GameModeData));
goe.EntityManager is null. don't know why.
log:
ArgumentException: During destruction and constructor of a system you are not allowed to get or create more systems.
Unity.Entities.World.CheckGetOrCreateManager () (at Library/PackageCache/[email protected]/Unity.Entities/Injection/World.cs:189)
Unity.Entities.World.GetOrCreateManager[T] () (at Library/PackageCache/[email protected]/Unity.Entities/Injection/World.cs:218)
Unity.Entities.GameObjectEntity.Initialize () (at
The text was updated successfully, but these errors were encountered:
goe.EntityManager is null. don't know why.
log:
ArgumentException: During destruction and constructor of a system you are not allowed to get or create more systems.
Unity.Entities.World.CheckGetOrCreateManager () (at Library/PackageCache/[email protected]/Unity.Entities/Injection/World.cs:189)
Unity.Entities.World.GetOrCreateManager[T] () (at Library/PackageCache/[email protected]/Unity.Entities/Injection/World.cs:218)
Unity.Entities.GameObjectEntity.Initialize () (at
The text was updated successfully, but these errors were encountered: