Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Burst backend causes Runtime Crash
#2
(30-09-2021, 09:57 AM)smohser Wrote: Hi,

I am trying to used Burst backend but getting this exceptions. any ideas ?

ArgumentException: source and destination length must be the same
Unity.Collections.NativeArray`1[T].CheckCopyLengths (System.Int32 srcLength, System.Int32 dstLength) (at <cfc1ad890650411e946cff2e6f276711>:0)
Unity.Collections.NativeArray`1[T].Copy (T[] src, Unity.Collections.NativeArray`1[T] dst) (at <cfc1ad890650411e946cff2e6f276711>:0)
Unity.Collections.NativeArray`1[T].CopyFrom (T[] array) (at <cfc1ad890650411e946cff2e6f276711>:0)
Unity.Collections.NativeList`1[T].CopyFrom (T[] array) (at Library/PackageCache/com.unity.collections@0.1.1-preview/Unity.Collections/NativeList.cs:479)
Obi.BurstSolverImpl.SetSimplices (System.Int32[] simplices, Obi.SimplexCounts counts) (at Assets/ObiCloth/Assets/Obi/Scripts/Common/Backends/Burst/Solver/BurstSolverImpl.cs:301)
Obi.ObiSolver.PushSimplices () (at Assets/ObiCloth/Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1379)
Obi.ObiSolver.PushActiveParticles () (at Assets/ObiCloth/Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1303)
Obi.ObiSolver.BeginStep (System.Single stepTime) (at Assets/ObiCloth/Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1512)
Obi.ObiUpdater.BeginStep (System.Single stepDeltaTime) (at Assets/ObiCloth/Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:49)
Obi.ObiFixedUpdater.FixedUpdate () (at Assets/ObiCloth/Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:44)

Hi there,

I'm unable to reproduce this issue,

- What Unity/Obi versions are you using?
- Which versions of the Burst dependencies are you using?
- What are the contents of the scene that causes this?
Reply


Messages In This Thread
RE: Using Burst backend causes Runtime Crash - by josemendez - 30-09-2021, 10:20 AM