I'm currently working on porting a windows game to macOS and it was going smoothly so far, but I got to a point where the build always crashes at one specific area in the game. There was never such an issue with windows version. Weirdly it crashes only sometimes on editor but build every time.
Also it's not like there is something wrong with the game itself, this area is in 80% of progress of the game (after 30-40 hours of gameplay) and everything was working smoothly up until this point.
After a crash I get those logs:
0 libmonobdwgc-2.0.dylib 0x0000000119148731 mono_handle_native_crash + 242
1 libmonobdwgc-2.0.dylib 0x00000001190a8b59 mono_sigsegv_signal_handler + 220
2 libsystem_platform.dylib 0x00007fff20373d7d _sigtramp + 29
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.RtpE9X'
Executing commands in '/tmp/mono-gdb-commands.RtpE9X'.
(lldb) process attach--pid 2347
Process 2347 stopped
thread #1, name = 'tid_103', stop reason = signal SIGSTOP
frame #0: 0xffffffffffffffff
Target 0: (No executable module.) stopped.
I have no clue what this is about, also I had a hard time finding anything on the internet about it. Any help?
Here are full logs https://pastebin.com/KA98Etqf