Search Unity

Question How to show Asset reference count in VS

Discussion in 'Code Editors & IDEs' started by FVS, Apr 14, 2022.

  1. FVS

    FVS

    Joined:
    Aug 10, 2015
    Posts:
    58
    I've just learned that Unity can show asset reference count to a script in Visual studio by creating a new empty project:
    upload_2022-4-14_14-57-20.png

    This is very useful. But the project I've been working on for long, uses the same VS version, same VS packages, and didn't have the feature (there is asset reference to the script):
    upload_2022-4-14_14-59-16.png

    Is that because my project too big, so Unity turned it off? Anyway, how do I turn it on?

    Thank you.
     
  2. hoangcuong2k1a

    hoangcuong2k1a

    Joined:
    Jan 9, 2023
    Posts:
    14
    i stuck on this like you. But cannot search the solution. Did you solve this ?
     
  3. sailro

    sailro

    Microsoft

    Joined:
    Jul 30, 2014
    Posts:
    167
    This is not something you can control for now. Depending on how many prefab/scene/meta files you have in your project and the projected memory needed to properly index all of this, Visual Studio will automatically enable or disable this feature.
     
    akitandmedia and FVS like this.