Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

MonoGame iOS IDictionary crash

$
0
0

@SteveProXNA wrote:

Hi - I'm new to the MonoGame community... I've been using MonoGame for quite some time and had some legacy code that worked fine on older version of MonoGame v3.5 when using IDictionary where T may be Vector2 or Rectangle type.

However, after upgrading to MonoGame v3.7.1 this code causes iOS builds to crash on device with a nasty SIGABRT crash report. Here is the actual Native Crash Report message:
"Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application."

I can confirm that the offending code uses IDictionary or IDictionary because if I change the type of the key from Byte to Int16 or Int32 then the code works fine without crash. Therefore, it seems to be some issue with Byte type platform invoke to the corresponding native type of iOS for Mono.

Finally, please note that everything on the Mac is up-to-date - I have upgraded on Xcode 11.2 and the latest Mono framework MDK and Xamarin iOS installed.

Thanks,
Steven.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles