Search Unity

Find All Usages of a ScriptableObject Asset

Discussion in 'General Discussion' started by liquify, Jan 13, 2022.

  1. liquify

    liquify

    Joined:
    Dec 9, 2014
    Posts:
    187
    If a ScriptableObject asset is used or referred by a GameObject in a scene, I can use Asset Usage Detector plugin to find the user or the GameObject.

    But if the ScriptableObject asset is used or referred by another ScriptableObject asset, the plugin or similar tool cannot find the user. Is there a way or a function to find all usages of a ScriptableObject asset?
     
  2. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,927
    Short of an asset plugin that does this for you, I imagine you could write your own method potentially using reflection to do so.