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

InvalidOperationException: System.IndexOutOfRangeException: #452

Open
shntat opened this issue Feb 8, 2023 · 0 comments
Open

InvalidOperationException: System.IndexOutOfRangeException: #452

shntat opened this issue Feb 8, 2023 · 0 comments

Comments

@shntat
Copy link

shntat commented Feb 8, 2023

InvalidOperationException: System.IndexOutOfRangeException: Index {0} is out of range in DynamicBuffer of '{1}' Length.
This Exception was thrown from a function compiled with Burst, which has limited exception support.
0x00007ff9c8921d61 (ab189054d47eefa5792d9f1eca0f65a) [unknown:0] VisualPinball.Unity.BallSpinHackSystem/VisualPinball.Unity.OnUpdate_LambdaJob0::VisualPinball.Unity.BallSpinHackSystem.VisualPinball.Unity.OnUpdate_LambdaJob0.IterateEntities
0x00007ff9c892156f (ab189054d47eefa5792d9f1eca0f65a) [IJobChunk.cs:184] Unity.Entities.JobChunkExtensions.RunWithoutJobs<VisualPinball.Unity.BallSpinHackSystem.VisualPinball.Unity.OnUpdate_LambdaJob0>
0x00007ff9c8921009 (ab189054d47eefa5792d9f1eca0f65a) 4AD3492990CD63F9
0x000001d6b0a04775 (Mono JIT Code) (wrapper managed-to-native) object:wrapper_native_000001D6AA480F80 (Unity.Entities.ArchetypeChunkIterator*,void*)
0x000001d6b994e5f8 (Mono JIT Code) [LambdaJobDescription.cs:391] Unity.Entities.InternalCompilerInterface:RunJobChunk<VisualPinball.Unity.BallSpinHackSystem/VisualPinball.Unity.<>c__DisplayClass_OnUpdate_LambdaJob0> (VisualPinball.Unity.BallSpinHackSystem/VisualPinball.Unity.<>c__DisplayClass_OnUpdate_LambdaJob0&,Unity.Entities.EntityQuery,Unity.Entities.InternalCompilerInterface/JobChunkRunWithoutJobSystemDelegate)
0x000001d6b994e1b3 (Mono JIT Code) [BallSpinHackSystem.cs:29] VisualPinball.Unity.BallSpinHackSystem:OnUpdate ()
0x000001d6b7490237 (Mono JIT Code) [SystemBase.cs:401] Unity.Entities.SystemBase:Update ()
0x000001d6b990985b (Mono JIT Code) [SimulateCycleSystemGroup.cs:150] VisualPinball.Unity.SimulateCycleSystemGroup:UpdateCycle ()
0x000001d6b99096db (Mono JIT Code) [SimulateCycleSystemGroup.cs:118] VisualPinball.Unity.SimulateCycleSystemGroup:OnUpdate ()
0x000001d6b7425e16 (Mono JIT Code) [ComponentSystem.cs:115] Unity.Entities.ComponentSystem:Update ()
0x000001d6b74cf5a0 (Mono JIT Code) [VisualPinballSimulationSystemGroup.cs:115] VisualPinball.Unity.VisualPinballSimulationSystemGroup:OnUpdate ()
0x000001d6b7425e16 (Mono JIT Code) [ComponentSystem.cs:115] Unity.Entities.ComponentSystem:Update ()
0x000001d6b7426f44 (Mono JIT Code) [ComponentSystemGroup.cs:474] Unity.Entities.ComponentSystemGroup:UpdateAllSystems ()
0x000001d6b7426a13 (Mono JIT Code) [ComponentSystemGroup.cs:417] Unity.Entities.ComponentSystemGroup:OnUpdate ()
0x000001d6b7425e16 (Mono JIT Code) [ComponentSystem.cs:115] Unity.Entities.ComponentSystem:Update ()
0x000001d6b7425c1d (Mono JIT Code) [ScriptBehaviourUpdateOrder.cs:335] Unity.Entities.ScriptBehaviourUpdateOrder/DummyDelegateWrapper:TriggerUpdate ()
0x000001d6ba06a398 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ff9a216e0a4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ff9a20ae744 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ff9a20ae8dc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff7cc17ecf4 (Unity) scripting_method_invoke
0x00007ff7cc179914 (Unity) ScriptingInvocation::Invoke
0x00007ff7cbe40215 (Unity) ExecutePlayerLoop
0x00007ff7cbe40233 (Unity) ExecutePlayerLoop
0x00007ff7cbe45e79 (Unity) PlayerLoop
0x00007ff7ccd85b78 (Unity) PlayerLoopController::UpdateScene
0x00007ff7ccd83d5f (Unity) Application::TickTimer
0x00007ff7cd1cbf7a (Unity) MainMessageLoop
0x00007ff7cd1d084b (Unity) WinMain
0x00007ff7ce4f1d4e (Unity) __scrt_common_main_seh
0x00007ffa288926bd (KERNEL32) BaseThreadInitThunk
0x00007ffa299cdfb8 (ntdll) RtlUserThreadStart

Unity.Entities.InternalCompilerInterface.RunJobChunk[T] (T& jobData, Unity.Entities.EntityQuery query, Unity.Entities.InternalCompilerInterface+JobChunkRunWithoutJobSystemDelegate functionPointer) (at Library/PackageCache/[email protected]/Unity.Entities/CodeGeneratedJobForEach/LambdaJobDescription.cs:390)
VisualPinball.Unity.BallSpinHackSystem.OnUpdate () (at Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity/VPT/Ball/BallSpinHackSystem.cs:29)
Unity.Entities.SystemBase.Update () (at Library/PackageCache/[email protected]/Unity.Entities/SystemBase.cs:412)
VisualPinball.Unity.SimulateCycleSystemGroup.UpdateCycle () (at Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity/Physics/SystemGroup/SimulateCycleSystemGroup.cs:148)
VisualPinball.Unity.SimulateCycleSystemGroup.OnUpdate () (at Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity/Physics/SystemGroup/SimulateCycleSystemGroup.cs:111)
Unity.Entities.ComponentSystem.Update () (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystem.cs:114)
VisualPinball.Unity.VisualPinballSimulationSystemGroup.OnUpdate () (at Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity/Game/VisualPinballSimulationSystemGroup.cs:112)
Unity.Entities.ComponentSystem.Update () (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystem.cs:114)
Unity.Entities.ComponentSystemGroup.UpdateAllSystems () (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystemGroup.cs:472)
UnityEngine.Debug:LogException(Exception)
Unity.Debug:LogException(Exception) (at Library/PackageCache/[email protected]/Unity.Entities/Stubs/Unity/Debug.cs:19)
Unity.Entities.ComponentSystemGroup:UpdateAllSystems() (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystemGroup.cs:477)
Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystemGroup.cs:417)
Unity.Entities.ComponentSystem:Update() (at Library/PackageCache/[email protected]/Unity.Entities/ComponentSystem.cs:114)
Unity.Entities.DummyDelegateWrapper:TriggerUpdate() (at Library/PackageCache/[email protected]/Unity.Entities/ScriptBehaviourUpdateOrder.cs:333)

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