Obi Official Forum

Full Version: Not working on iOS 13.3.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I’m using Obi Cloth to simulate clothing psychics, when I run simulation in editor, everything is fine. When I deploy to my iPhone I get only cloth mesh without simulation. Also XCode throws errors at me. 
How can I get it to work? I followed skinned mesh process.

iPhone 11 Pro , iOS 13.3.1 XCode 11.3.1, Unity 2019.2.20f1 

Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00000] in <00000000000000000000000000000000>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiClothRendererBase.UpdateActiveVertex (Obi.ObiSolver solver, System.Int32 actorIndex, System.Int32 meshVertexIndex) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiClothRendererBase.UpdateRenderer (Obi.ObiActor actor) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiSkinnedClothRenderer.UpdateRenderer (Obi.ObiActor actor) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiActor+ActorCallback.Invoke (Obi.ObiActor actor) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiActor.Interpolate () [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiSolver.Interpolate (System.Single stepTime, System.Single unsimulatedTime) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiUpdater.Interpolate (System.Single stepDeltaTime, System.Single accumulatedTime) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiLateFixedUpdater.Update () [0x00000] in <00000000000000000000000000000000>:0 
 
(Filename: currently not available on il2cpp Line: -1)


Please help me.

Best Regards
(28-02-2020, 09:21 PM)jabi11 Wrote: [ -> ]Hi,
I’m using Obi Cloth to simulate clothing psychics, when I run simulation in editor, everything is fine. When I deploy to my iPhone I get only cloth mesh without simulation. Also XCode throws errors at me. 
How can I get it to work? I followed skinned mesh process.

iPhone 11 Pro , iOS 13.3.1 XCode 11.3.1, Unity 2019.2.20f1 

Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00000] in <00000000000000000000000000000000>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiClothRendererBase.UpdateActiveVertex (Obi.ObiSolver solver, System.Int32 actorIndex, System.Int32 meshVertexIndex) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiClothRendererBase.UpdateRenderer (Obi.ObiActor actor) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiSkinnedClothRenderer.UpdateRenderer (Obi.ObiActor actor) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiActor+ActorCallback.Invoke (Obi.ObiActor actor) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiActor.Interpolate () [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiSolver.Interpolate (System.Single stepTime, System.Single unsimulatedTime) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiUpdater.Interpolate (System.Single stepDeltaTime, System.Single accumulatedTime) [0x00000] in <00000000000000000000000000000000>:0 
  at Obi.ObiLateFixedUpdater.Update () [0x00000] in <00000000000000000000000000000000>:0 
 
(Filename: currently not available on il2cpp Line: -1)


Please help me.

Best Regards

Hi,

This happens because there's a player setting in Unity that removes tangent vectors from all your meshes at build time. See the following thread:
http://obi.virtualmethodstudio.com/forum...p?tid=2074