- Home /
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):
Yet Unity doesn't complain about anything and runs the game just fine.
Any ideas?
Thanks.
Yep. Sadly just one, though.
I've gotten similar stuff in VS when I accidentally hit cancel ins$$anonymous$$d of Reload.
Close and re-open VS if you haven't already. That's how I always fix $$anonymous$$e. You might even have to close both Unity + VS together and then open them both back up.
Best of luck if this doesn't help!
Thanks for your input but it didn't work :( - Also tried cleaning the cache (clearing out the Library folder and having Unit regenerate it for me)
Answer by vexe · Dec 19, 2013 at 02:59 PM
Sent an email to the UnityVS team, got a response. It works :)
"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,"
Your answer
Follow this Question
Related Questions
what is the compile error on this script? 2 Answers
Error BCE0044 plz help 0 Answers
Need some helps 2 Answers
Cant attach debugger | Compile Errors in VS but not in Unity? 0 Answers
Can't export game 3 Answers