/* * Exception: System.Exception: System.Exception: This exception turn around ~~ * at TestException.TestCallbackException () [0x0000c] in <ae28305b9ad94cbf995b02f06babebda>:0 * at PureScript.ExceptionTest.Oncallback (System.Int32 arg0_h) [0x0000b] in <32aba121fea14339b39ae3ef7a81ab85>:0 * at PureScript.ScriptEngine.CheckException () [0x00000] in <00000000000000000000000000000000>:0 * at UnityBind.OnExceptionTest_callback (PureScript.ExceptionTest arg0) [0x00000] in <00000000000000000000000000000000>:0 * at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0 * at PureScript.ExceptionTest.TestCallBack () [0x00000] in <00000000000000000000000000000000>:0 * at UnityBind.PureScript_ExceptionTest_TestCallBack (System.Int32 thiz_h) [0x00000] in <00000000000000000000000000000000>:0 * at (wrapper managed-to-native) PureScript.ScriptEngine.CheckException() * at PureScript.ExceptionTest.TestCallBack () [0x00012] in <32aba121fea14339b39ae3ef7a81ab85>:0 * at TestException.OnFocusCallbackException (System.Boolean focus) [0x00012] in <ae28305b9ad94cbf995b02f06babebda>:0 * at UnityEngine.Application.InvokeFocusChanged (System.Boolean focus) [0x0000b] in <cf7fb9a754e74776ae71c25165ca083c>:0 * at (wrapper native-to-managed) UnityEngine.Application.InvokeFocusChanged(bool,System.Exception&) */ void OnFocusCallbackException(bool focus) { if (focus) { //RaiseMonoException("testException"); //return; Debug.LogError("##OnFocus 1"); other.TestCallBack(); Debug.LogError("##OnFocus 2"); return; } }