Nov 24, 2012 at 2:52 AM
Edited Nov 24, 2012 at 3:37 AM
I was told by a user that one of my wp7 games crashes on wp8 so I did a little digging and found that BayazitDecomposer.ConvexPartition throws the exception:
In the output in visual studio 2012 I see this when launching the game page:
A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.ni.dll
This causes all of my objects to not have collision so its a really big problem for the game.
The weird thing is that this only happens on real WP8 devices but not the emulator.
Anyone know why this happens? What can I do to fix this?
Found this in stacktrace
StackTrace = " at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)\r\n at System.Collections.Generic.List`1.get_Item(Int32 index)\r\n at FarseerPhysics.Common.Decomposition.BayazitDecomposer.At(Int32