再現したUnityのバージョン
- Unity5.6.0b2
- Unity5.5.0p3
- Unity5.4.4f1
発生条件
- iOS10の端末においてFPSが60の状態でスリープから復帰するとアプリが強制終了する
解決方法
- サスペンドする時にFPSを30に変更する
private int m_prevFps; private void OnApplicationPause( bool isPause ) { if ( isPause ) { m_prevFps = Application.targetFrameRate; Application.targetFrameRate = 30; } else { Application.targetFrameRate = m_prevFps; } }