Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UtilityAi Restaurant Example Has Issues #5

Open
mlflabs opened this issue Jun 4, 2024 · 0 comments
Open

UtilityAi Restaurant Example Has Issues #5

mlflabs opened this issue Jun 4, 2024 · 0 comments

Comments

@mlflabs
Copy link

mlflabs commented Jun 4, 2024

Hello, thanks for the great work, im trying to run the example, but seemed to be getting errors, could you help out

InvalidOperationException: The previously scheduled job RestaurantSystem:RestaurantSystemJob writes to the ComponentTypeHandle RestaurantSystemJob.JobData.__TypeHandle.__RestaurantState_RW_ComponentTypeHandle. You must call JobHandle.Complete() on the job RestaurantSystem:RestaurantSystemJob, before you can read from the ComponentTypeHandle safely.
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckReadAndThrowNoEarlyOut (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) (at <347e9cb990044b19a415d80dc9c7be25>:0)
Unity.Entities.ComponentSafetyHandles.CompleteWriteDependency (Unity.Entities.TypeIndex typeIndex) (at ./Library/PackageCache/com.unity.entities/Unity.Entities/ComponentSafetyHandles.cs:285)
Unity.Entities.EntityQueryImpl.GetSingleton[T] () (at ./Library/PackageCache/com.unity.entities/Unity.Entities/Iterators/EntityQuery.cs:1439)
Unity.Entities.EntityQuery.GetSingleton[T] () (at ./Library/PackageCache/com.unity.entities/Unity.Entities/Iterators/EntityQuery.cs:2737)
RestaurantGameUISystem.OnUpdate () (at Assets/Standard Assets/_Restaurant/Scripts/RestaurantGameUISystem.cs:19)
Unity.Entities.SystemBase.Update () (at ./Library/PackageCache/com.unity.entities/Unity.Entities/SystemBase.cs:418)
Unity.Entities.ComponentSystemGroup.UpdateAllSystems () (at ./Library/PackageCache/com.unity.entities/Unity.Entities/ComponentSystemGroup.cs:723)
UnityEngine.Debug:LogException(Exception)
Unity.Debug:LogException(Exception) (at ./Library/PackageCache/com.unity.entities/Unity.Entities/Stubs/Unity/Debug.cs:17)
Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at ./Library/PackageCache/com.unity.entities/Unity.Entities/ComponentSystemGroup.cs:728)
Unity.Entities.ComponentSystemGroup:OnUpdate() (at ./Library/PackageCache/com.unity.entities/Unity.Entities/ComponentSystemGroup.cs:681)
Unity.Entities.SystemBase:Update() (at ./Library/PackageCache/com.unity.entities/Unity.Entities/SystemBase.cs:418)
Unity.Entities.DummyDelegateWrapper:TriggerUpdate() (at ./Library/PackageCache/com.unity.entities/Unity.Entities/ScriptBehaviourUpdateOrder.cs:523)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant