Obi Official Forum
Help skinned cloth simulating doesn't work on Android devices - 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: Help skinned cloth simulating doesn't work on Android devices (/thread-2054.html)



skinned cloth simulating doesn't work on Android devices - guoli - 17-02-2020

I watched this video https://www.youtube.com/watch?v=usXaFr6N630, and created a similar project that simulating a t-shirt using skinned cloth. It worked good on Android platform on my PC, but failed to run on a real android device. It seems that the skinned cloth component was deactivated on my android device for some reason. 
I wonder if this feature is supported on android devices?

I am using Unity2019.2.21f1


RE: skinned cloth simulating doesn't work on Android devices - josemendez - 17-02-2020

(17-02-2020, 09:41 AM)guoli Wrote: I watched this video https://www.youtube.com/watch?v=usXaFr6N630, and created a similar project that simulating a t-shirt using skinned cloth. It worked good on Android platform on my PC, but failed to run on a real android device. It seems that the skinned cloth component was deactivated on my android device for some reason. 
I wonder if this feature is supported on android devices?

Hi,

This is fully supported in Android. What Obi version are you using, and what Android device did you deploy to?


RE: skinned cloth simulating doesn't work on Android devices - guoli - 17-02-2020

(17-02-2020, 09:43 AM)josemendez Wrote: Hi,

This is fully supported in Android. What Obi version are you using, and what Android device did you deploy to?

Obi version: Obi Cloth 5.1
Android Device: HUAWEI P20, similar to this one: https://www.amazon.com/P20-EML-L29-Unlocked-International-Warranty/dp/B07BVQSHH8/ref=sr_1_3?keywords=huawei+p20&qid=1581930840&sr=8-3


RE: skinned cloth simulating doesn't work on Android devices - guoli - 21-02-2020

(17-02-2020, 09:43 AM)josemendez Wrote: Hi,

This is fully supported in Android. What Obi version are you using, and what Android device did you deploy to?

Got these errors :
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
      at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <319b5411003b47fbaceecace494b6f79>:0 
      at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <319b5411003b47fbaceecace494b6f79>:0 
      at Obi.ObiClothRendererBase.UpdateActiveVertex (Obi.ObiSolver solver, System.Int32 actorIndex, System.Int32 meshVertexIndex) [0x00187] in ObiClothRendererBase.cs:129 
      at Obi.ObiClothRendererBase.UpdateRenderer (Obi.ObiActor actor) [0x00093] in ObiClothRendererBase.cs:152


RE: skinned cloth simulating doesn't work on Android devices - guoli - 16-03-2020

(21-02-2020, 10:25 AM)guoli Wrote: Got these errors :
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
      at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <319b5411003b47fbaceecace494b6f79>:0 
      at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <319b5411003b47fbaceecace494b6f79>:0 
      at Obi.ObiClothRendererBase.UpdateActiveVertex (Obi.ObiSolver solver, System.Int32 actorIndex, System.Int32 meshVertexIndex) [0x00187] in ObiClothRendererBase.cs:129 
      at Obi.ObiClothRendererBase.UpdateRenderer (Obi.ObiActor actor) [0x00093] in ObiClothRendererBase.cs:152

This post also solved my problem. http://obi.virtualmethodstudio.com/forum/showthread.php?tid=2074