Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Async load scenes that has Obi rope, crash?
#1
Obi rope worked like a charm in my big scene.
Finally I decided to break up my big scene into small ones. (a script cut my big scene into small ones)
After this I just call Async load/unload that scenes. And my probleme is:

++ LoadSceneSectorAsyncCoroutine _SCENE_SECTOR_Factory ...
Crash!!!

in that SCENE I have an Obi rope.

System.IndexOutOfRangeException: Index {0} is out of range of '{1}' Length.

Can you help me what is wrong? Did you tried with a scene that has an Obi rope with AsyncLoad?

Thanks,
Leslie



UPDATE:

full stack trace:


System.IndexOutOfRangeException: Index {0} is out of range of '{1}' Length.
This Exception was thrown from a job compiled with Burst, which has limited exception support.
0x00007ff9e2b29eac (f93dc2e89d393e9066f1a32ffe0f717) Unity.Jobs.IJobParallelForExtensions.ParallelForJobStruct`1<Obi.BurstColliderWorld.IdentifyMovingColliders>.Execute(ref Obi.BurstColliderWorld.IdentifyMovingColliders jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, ref Unity.Jobs.LowLevel.Unsafe.JobRanges ranges, int jobIndex) -> void_73c04fea4d034adcf3d7ccb459d2c985 from UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null (at D:/UnityProjects/ProjectNULL2022_NEW/Library/PackageCache/com.unity.burst@1.8.4/.Runtime/unknown/unknown:0)
0x00007ff9e2b291b6 (f93dc2e89d393e9066f1a32ffe0f717) 66ae0ec97032d678ba0cf3bcb6ddfa20
0x00007ff78f600c1c (Unity) ExecuteJob
0x00007ff78f600f84 (Unity) ExecuteJobCopyData
0x00007ff78f601c9f (Unity) ForwardJobForEachToManaged
0x00007ff78f5fde6e (Unity) ujob_execute_job
0x00007ff78f5fd324 (Unity) lane_guts
0x00007ff78f5ffe84 (Unity) worker_thread_routine
0x00007ff78f82d817 (Unity) Thread::RunThreadWrapper
0x00007ffa2dc226ad (KERNEL32) BaseThreadInitThunk
0x00007ffa2fcaa9f8 (ntdll) RtlUserThreadStart
Reply


Messages In This Thread
Async load scenes that has Obi rope, crash? - by lacasrac - 17-06-2023, 07:12 PM