iOS crash report: System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_
I get the following messages in my iOS crash report:
SharedCodeProject_MyClass__Updated__301_MoveNext (in MyGameiOS) (<unknown>:1) System_Runtime_CompilerServices_AsyncMethodBuilderCore_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_ (in MyGameiOS) + 388 MyGameiOS_SharedCodeProject_MyClass_Update_Microsoft_Xna_Framework_GameTime (in MyGameiOS) + 184 -[iOSGameView doTick] (in MyGameiOS) (registrar.mm:13304)
I have uploaded my iOS build on TestFlight and then installed it on my iPad. My game always crashes 1-2 seconds after I opened it on my iPad. It only crashes in release mode and not in debug mode. It also crashes when I remove the push notification code in Program.cs where I check if push notifications are enabled or not.
Does my game crash in MyClass.cs in SharedCodeProject? I don´t know what all these messages from the iOS crash report mean and it is difficult for me to find the issue because my game crashes in release mode and I don´t know how to log the error when my game is in release mode.