Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[HELP!] Mysterious Appdomain Unload Exception

Discussion in 'Editor & General Support' started by junestone, Mar 26, 2018.

  1. junestone

    junestone

    Joined:
    May 30, 2017
    Posts:
    42
    After several days of investigation I found that the editor runtime's frequently crash was caused by AppDomain Unloaded event. Which was furthur caused by asset reload during runtime.

    HOWEVER, I never generate any new file or modify any file within the Assets folder.
    Also I listened to Editor's API on asset change but not get called(UnityEditor.AssetModificationProcessor.OnWillXXX).

    Is there any proper way to track down the asset change? Am I not using the correct Editor API?