this is a little piece of code that works like a charm in the Unity iPhone Editor but doesn't work on the iPhone, throwing an exception in the XCode console at runtime.
the exception is documented at http://monotouch.net/Documentation/Troubleshoot
which is pretty funny since this code will throw a null deref exception^^
did anyone already solve this issue? It's more related to Mono than to Unity, because it works fine in the Editor. I set .NET in the Player Settings of the Project to 2.1 . Thank you for the time spent reading this wall of text.
asked Jul 09 '10 at 02:49 PM
Don't construct a List with an array, it crashes on the phone. Known bug.
Instead add the objects one at a time.
answered Jul 09 '10 at 04:02 PM