UtilityAi Restaurant Example Has Issues
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<RestaurantState> RestaurantSystemJob.JobData.__TypeHandle.__RestaurantState_RW_ComponentTypeHandle. You must call JobHandle.Complete() on the job RestaurantSystem:RestaurantSystemJob, before you can read from the ComponentTypeHandle<RestaurantState> 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)