[Unity-2018.4.10f1] TestFlight iOS build crashes 5 seconds after the application is killed by the user

The iOS application crashed 5 seconds on iPhone XR, iPhone Pro 11, iPhone Pro 12 after it's terminated by the user (force kill the app) in landscape mode but not crashed in portrait mode. This happens only on iOS builds on unity version 2018.4.10f1

The Android builds don't present the same error.

Steps to reproduce

  1. Open the game
  2. Wait until the loading scene is about to finish or until the game scene is fully loaded
  3. Kill the application in landscape mode
  4. Wait 4~5 seconds and see the crash report window

Reproduction rate: 90-100% Devices used to test: iPhone XR, iPhone 11 Pro, iPhone 12 Pro

Log crash get from Iphone Device in Setting -> Privacy -> Analytics & Improvements

I have found the issue. This only happens on Testflight but works well once published on AppStore or direct build from Xcode. Thanks

[Unity-2018.4.10f1] TestFlight iOS build crashes 5 seconds after the application is killed by the user
 
 
Q