Issue regarding: Find Usages of Symbol

Please excuse my (most likely) stupidity with this post but I'm having some trouble with "Find Usages"

I have a variable that I know is used elsewhere in my project, but:

Using ´"Find Usages of Symbol" on this variable while the caret is on it, using Alt+F7 presents the message "Usages of 'variable' are only implicit" and gives no results.

If I however, right-click the variable in Structure View and choose "Find Usages" Rider correctly opens the respective file and highlights the usage.

This seems like a bug (I would assume both methods should behave the same), but perhaps I've missed a setting or something somewhere?

Thanks for any help in advance!

Comment actions Permalink

Following on from this, Find Usages is causing trouble again in the following scenario:

Find Usages on lashesMesh does not show the usages seen below in the screenshot. The only usages presented are the variable's declaration and a prefab in Unity (which Rider opens and highlights for me) This time using Find Usages from the Structure view also only shows the declaration and Unity prefab.


Any ideas?

Comment actions Permalink



Could you right click on `lashesMesh` and run Find Usages? Will you have same result? Which shortcut is assigned to Find usages in appeared context menu? Looks like when you pressing alt+f7 Rider runs Find unity usages instead of Find usages

Comment actions Permalink

Of course now I try and reproduce this issue, it doesn't happen again! I'm pretty certain I have been using the standard "Find Usages" in both cases.

I'll keep an eye out (it's happened a few times) and update when I have more information

Comment actions Permalink

Today I have a serialized, protected Transform variable in a class derived from MonoBehaviour, which is then referenced twice in a child-class, performing Find Usages does not show these usages; only the declaration and the Unity Assets using it.

Using Right-click menu Find Usages, or Find Usages from the Structure view, or using Alt F7 all result in lacking results.

If I remove SerizlizeField from the declaration, I get no results whatsoever with the message: "Usages of 'variable' were not found.". Using Find Usages in the Structure view does nothing, with no error.

After removing the declaration, Rider correctly lets me know that there are resulting errors and highlights the references when I click the "2 errors in 1 file" status bar message

Comment actions Permalink

Interestingly, if I revert my changes (removal of the declaration and its uses) using external source control, with Rider open, running Find Usages on the declaration works as expected.

Comment actions Permalink

Hello Robert,

To investigate this issue, we need a local reproduction. 

Do you remember the revisions you switched between before reproducing the "Find Usages" issue? Knowing them could be very useful. So, if you know them, please collect your solution and your VCS (.git folder) and share them with us, and let us know the revisions numbers.

We can sign NDA if needed.

Here is a guide about how to upload files to JetBrains:
Please let me know if you need any assistance.


Kind regards,



Please sign in to leave a comment.