Obi Official Forum
Bug / Crash Not working on iOS 13.3.1 - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Bug / Crash Not working on iOS 13.3.1 (/thread-2076.html)



Not working on iOS 13.3.1 - jabi11 - 28-02-2020

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


RE: Not working on iOS 13.3.1 - josemendez - 05-03-2020

(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/showthread.php?tid=2074