Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Error in Visual Studio?

Discussion in '2023.1 Beta' started by SpookyCat, Feb 18, 2023.

  1. SpookyCat


    Jan 25, 2010
    I am getting the error below constantly spamming my Visual studio 2022 is there some setting that needs changing to stop this annoying message?

    An instance of analyzer Unity.MonoScriptGenerator.MonoScriptInfoGenerator cannot be created from C:\Program Files\Unity\Hub\Editor\2023.1.0b4\Editor\Data\Tools\Unity.SourceGenerators\Unity.SourceGenerators.dll: Could not load file or assembly 'netstandard, Version=, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.. 1
  2. Hackworth


    Apr 28, 2020
    I would like to add to this. For myself, the message isn't simply annoying. I am not a very adept coder in general, however what seems to be happening to me is that the *linkage* between Unity and VS seems to have broken.

    I have no access to my Unity objects through code the way I normally would have, i.e. 'transform.blah' for that objects transform that the script is attached to. This for me right now is near fully breaking my progress.

    I have just finished uninstalling all Unity editors and VS. Reinstalled Unity and hence VS, and still getting the same warning. Can anyone help guide us through what is happening and how to fix it? Thanks!