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

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

Open
breakpoint-git opened this issue Dec 30, 2022 · 0 comments

Comments

@breakpoint-git
Copy link

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)
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