No Autocomplete or F12

When I start typing the name of a function from Mirror’s NetworkManager, I get no suggestions for the function name. Also when I click on the name of a class or function from NetworkManager and press F12 I get a message that says “No definition found”. The code still works in Unity, so I would have to think it’s an IDE issue. But I’m not sure how to fix it.

Hi there,

Which IDE are you using? Which version of Unity and Mirror are installed.
A bunch of things you can try in order of most likely to help:

  1. Go to edit > preferences > external tools > Regenerate projects files
  2. Update Mirror to the latest version in the package manager.
  3. Update VS Code or VS unity plugin to the latest version in the package manager.
  4. Delete the Mirror folder entirely and reimport it.
  5. Close Unity, delete the Library folder, reopen Unity and let it rebuild the Library folder.

Let me know if any of these help.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms