rival-documentation icon indicating copy to clipboard operation
rival-documentation copied to clipboard

Setting up character - tutorial: InvalidOperationException: System.InvalidOperationException on startup

Open breakpoint-git opened this issue 3 years ago • 0 comments

Trying to set-up Tutorial project. (Step 2. https://github.com/Unity-Technologies/rival-documentation/blob/master/Tutorial/tutorial-characterhits.md) Unity version (2022.2.1f1, 3D/UPD template, Mac M1 silicon)

If to ignore error, character seems to be working fine. If to use Tutorial folder to set up the project, seems to be working fine as well. What Im doing wrong with manual setup?

Exception stacktrace:
InvalidOperationException: System.InvalidOperationException: GetSingleton<{0}>() requires that exactly one {1} exist that match this query, but there are {2}.
This Exception was thrown from a function compiled with Burst, which has limited exception support.
 #3 Unity.Entities.EntityQueryImpl.GetSingleton<FixedTickSystem.Singleton>(Unity.Entities.EntityQueryImpl* this) -> FixedTickSystem.Singleton_e7f125cd1d9c91d6115fba1a3b491d17 from Unity.Entities, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
 #4  (Mono JIT Code) Unity.Entities.WorldUnmanagedImpl/Unity.Entities.UnmanagedUpdate_000014A0$BurstDirectCall:Invoke (void*)
 #5  (Mono JIT Code) [WorldUnmanaged.cs:811] Unity.Entities.WorldUnmanagedImpl:UnmanagedUpdate (void*)
 #6  (Mono JIT Code) [WorldUnmanaged.cs:876] Unity.Entities.WorldUnmanagedImpl:UpdateSystem (Unity.Entities.SystemHandle)
 #7  (Mono JIT Code) [ComponentSystemGroup.cs:664] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()
 #8  (Mono JIT Code) [ComponentSystemGroup.cs:632] Unity.Entities.ComponentSystemGroup:OnUpdate ()
 #9  (Mono JIT Code) [SystemBase.cs:417] Unity.Entities.SystemBase:Update ()
 #10  (Mono JIT Code) [ComponentSystemGroup.cs:672] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()
 #11  (Mono JIT Code) [ComponentSystemGroup.cs:628] Unity.Entities.ComponentSystemGroup:OnUpdate ()
 #12  (Mono JIT Code) [SystemBase.cs:417] Unity.Entities.SystemBase:Update ()
 #13  (Mono JIT Code) [ScriptBehaviourUpdateOrder.cs:528] Unity.Entities.ScriptBehaviourUpdateOrder/DummyDelegateWrapper:TriggerUpdate ()
 #14  (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

breakpoint-git avatar Dec 30 '22 20:12 breakpoint-git