Keep getting a "Failed to retrieve assembly" error in VS, while the game runs just fine?

I keep getting this error in VS when I build (Using UnityVS):

19564-error.png

Yet Unity doesn’t complain about anything.

Any ideas?

Sent an email to the UnityVS team, got a response. It works :slight_smile:

"Yeah we recently identified this bug.

What happens is that:

  • You used to have at least one .js file in your scripts.
  • You deleted all the .js file, so Unity doesn’t have to compile any UnityScript assembly
  • UnityVS fails to realize this.

The easiest thing to do in that case is simply to:

  • Delete all UnityVS* generated files from the root folder of your Unity project and do UnityVS → Generate Project files in Unity, you’ll be good to go.

Best regards,"