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
(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?
(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
(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...p?tid=2074