Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

[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