Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Broken scripts with update 6 -> 7
#8
(10-01-2025, 12:34 AM)hariedo Wrote: Definitely making progress, the startup is clean.

But still getting spammed by this shortly after first frame.

InvalidOperationException: The previously scheduled job BoundsReductionJob writes to the Unity.Collections.NativeArray`1[Obi.BurstAabb] BoundsReductionJob.bounds. You must call JobHandle.Complete() on the job BoundsReductionJob, before you can read from the Unity.Collections.NativeArray`1[Obi.BurstAabb] safely.
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckReadAndThrowNoEarlyOut (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) (at <f5cef381160e49118a67ea125642e36a>:0)
Obi.BurstSolverImpl.GetBounds (UnityEngine.Vector3& min, UnityEngine.Vector3& max) (at Assets/Plugins/Obi/Scripts/Common/Backends/Burst/Solver/BurstSolverImpl.cs:367)
Obi.ObiSolver.UpdateVisibility () (at Assets/Plugins/Obi/Scripts/Common/Solver/ObiSolver.cs:2257)
Obi.ObiSolver.Render (System.Single unsimulatedTime) (at Assets/Plugins/Obi/Scripts/Common/Solver/ObiSolver.cs:1777)
Obi.ObiSolver.LateUpdate () (at Assets/Plugins/Obi/Scripts/Common/Solver/ObiSolver.cs:1165)

If there's more info about the prefab's setup that would help, I can list it.

I'm unable to reproduce this issue using your script. Would it be possible for you to share a scene/prefab that reproduces this, just in case the transform hierarchy setup or other factors other that the code are responsible for this? (if so, send it to support(at)virtualmethodstudio.com)

kind regards
Reply


Messages In This Thread
Broken scripts with update 6 -> 7 - by hariedo - 21-12-2024, 10:35 AM
RE: Broken scripts with update 6 -> 7 - by josemendez - 10-01-2025, 06:24 PM