Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IndexOutOfRangeException in Sample Scene
#2
(02-11-2017, 07:05 PM)Yomadorr Wrote: Dear Obi-Team
Today I bought your Rope Asset. But each sample scene crashes at start, because of IndexOutOfRangeExceptions.
(I work on Mac 10.12.6 (16G29) with Unity 2017.2.0f3 Personal (64bit) if that helps. )

E.g. in the scene "RopesAndJoints":
IndexOutOfRangeException: Array index is out of range.
Obi.ObiSolver.UpdateActiveParticles () (at Assets/Obi/Scripts/Solver/ObiSolver.cs:408)
Obi.ObiSolver.AddActor (Obi.ObiActor actor, Int32 numParticles) (at Assets/Obi/Scripts/Solver/ObiSolver.cs:324)
Obi.ObiActor.AddToSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiActor.cs:221)
Obi.ObiRope.AddToSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiRope.cs:380)
Obi.ObiActor.Start () (at Assets/Obi/Scripts/Actors/ObiActor.cs:134)

What am I doing wrong?

Best
Livio

Hi there,

Did you restart Unity after importing the asset? usually Unity will not correctly import libraries (.dlls, .bundles, etc) until the next restart.

cheers,
Reply


Messages In This Thread
RE: IndexOutOfRangeException in Sample Scene - by josemendez - 02-11-2017, 09:17 PM