Advertisement
443eb9

Untitled

Sep 25th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. IndexOutOfRangeException: Index 23 is out of restricted IJobParallelFor range [0...15] in ReadWriteBuffer.
  2. ReadWriteBuffers are restricted to only read & write the element at the job index. You can use double buffering strategies to avoid race conditions due to reading & writing in parallel to the same elements from a job.
  3.  
  4. Unity.Collections.NativeArray`1[T].FailOutOfRangeError (System.Int32 index) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
  5. Unity.Collections.NativeArray`1[T].CheckElementReadAccess (System.Int32 index) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
  6. Unity.Collections.NativeArray`1[T].get_Item (System.Int32 index) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
  7.  
  8. Unity.Physics.Broadphase+BvhLeafProcessor.RayLeaf[T] (Unity.Physics.RaycastInput input, System.Int32 rigidBodyIndex, T& collector) (at ./Library/PackageCache/com.unity.physics@1.0.14/Unity.Physics/Collision/World/Broadphase.cs:622)
  9.  
  10. Unity.Physics.BoundingVolumeHierarchy.Raycast[TProcessor,TCollector] (Unity.Physics.RaycastInput input, TProcessor& leafProcessor, TCollector& collector) (at ./Library/PackageCache/com.unity.physics@1.0.14/Unity.Physics/Collision/Geometry/BoundingVolumeHierarchy.cs:373)
  11.  
  12. Unity.Physics.Broadphase.CastRay[T] (Unity.Physics.RaycastInput input, Unity.Collections.NativeArray`1[T] rigidBodies, T& collector) (at ./Library/PackageCache/com.unity.physics@1.0.14/Unity.Physics/Collision/World/Broadphase.cs:534)
  13.  
  14. Unity.Physics.CollisionWorld.CastRay[T] (Unity.Physics.RaycastInput input, T& collector) (at ./Library/PackageCache/com.unity.physics@1.0.14/Unity.Physics/Collision/World/CollisionWorld.cs:338)
  15.  
  16. Unity.Physics.QueryWrappers.RayCast[T] (T& target, Unity.Physics.RaycastInput input, Unity.Physics.RaycastHit& closestHit) (at ./Library/PackageCache/com.unity.physics@1.0.14/Unity.Physics/Collision/Queries/Collidable.cs:664)
  17.  
  18. Unity.Physics.CollisionWorld.CastRay (Unity.Physics.RaycastInput input, Unity.Physics.RaycastHit& closestHit) (at ./Library/PackageCache/com.unity.physics@1.0.14/Unity.Physics/Collision/World/CollisionWorld.cs:318)
  19.  
  20. HexagonSurvive.HexPhysics.RaycastJob.Execute (System.Int32 index) (at Assets/Scripts/HexagonSurvive/HexPhysics/RaycastJob.cs:20)
  21.  
  22. Unity.Jobs.IJobForExtensions+ForJobStruct`1[T].Execute (T& jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement