Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[WP8.1] Exceptions when calling Application.Quit()

Discussion in 'Windows' started by Indie Viking, Apr 14, 2015.

  1. Indie Viking

    Indie Viking

    Joined:
    Sep 12, 2013
    Posts:
    28
    When calling Application.Quit() on WP8.1 the following messages is found in Visual Studio output:
    - Exception occured in 'AppCallbacks::performUpdateAndRender' block.
    - Exception occured in 'AppCallbacks::_AppThread' block.

    The following script in an empty project will reproduce these exceptions:
    Code (csharp):
    1. using UnityEngine;
    2.  
    3. public class BackButton : MonoBehaviour
    4. {
    5.   void Update()
    6.   {
    7.      if (Input.GetKeyDown(KeyCode.Escape))
    8.        Application.Quit();
    9.   }
    10. }
    I have reported a bug, but does anybody know if these exceptions have any *real* influence on a Unity game and should be fixed (I cannot find any issues while testing), or is it ok to ship a game with these exception messages?
     
    Last edited: Apr 14, 2015