We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: