Search Unity

EditorUtility.UnloadUnusedAssetsImmediate() crashes 5.3.2f1

Discussion in 'Immediate Mode GUI (IMGUI)' started by DaveHoskins, Feb 1, 2016.

  1. DaveHoskins

    DaveHoskins

    Joined:
    Sep 9, 2013
    Posts:
    190
    I says nothing, but drops out completely.
    I've just upgraded to the latest. This call worked fine for all other version, and it's been in my code for ages.
    Am I missing something about this? It is useful for freeing up editor memory.

    Thanks.
    Dave.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,279
    Try the latest patch version. If it still crashes create a bug report with a sample project.
     
  3. DaveHoskins

    DaveHoskins

    Joined:
    Sep 9, 2013
    Posts:
    190
    Thanks for the reply, I suspect it's because I'm calling it in the wrong place, here's the error I get now, it causes a 'fatal error.' Is this often seen?
    shot.jpg