Freeze when inspecting asset list

Issue #39 resolved
Former user created an issue

Using Unity 5.5.0f3, the Unity editor freezes immediately when inspecting a component using the Odin Inspector asset list.

Comments (7)

  1. Tor Esa Vestergaard

    We have so far been unable to replicate this issue in any way. Could you give further details on the code required to provoke the freeze, and which version of Odin you were using at the time?

  2. MatthewS

    I've also been having this issue -

    I have an asset list inside a tab - when I try to open the tab, Unity freezes for about 30 seconds , before eventually switching tab and showing me the asset list.

  3. Tor Esa Vestergaard
    • changed status to open

    We have concluded that asset list initialization, where-in the project's assets are scanned for inclusion in the asset list, is taking up a lot of time in large projects with a lot of assets, causing the inspector to freeze for an unacceptable period of time. We believe this is the issue both of you are experiencing.

    We are working on letting the asset list update over time, letting it populate itself gradually in large projects, so that work in the inspector can be continued while the asset list initializes itself.

  4. Bjarke Elias Clauson-Kaas Ørrild

    The Asset List now updates over time. It should also be much faster at finding the relevant assets, what took me multiple seconds before now takes less than a second.

    The main problem is happening when we are scanning the entire project for prefabs which contains a specific component. Unity doesn't provide any fast way of doing this as far as I know. So right now we are loading all prefabs (AssetDatabase.LoadAssetAtPath<GameObject>(prefabPath)), and checking to see if it has the component we are looking for. But now this at least happens over time, and you can use the GUI in the meantime.


  5. Log in to comment