Search code examples
unity-game-enginebuildpublish

Unity3D gives hundrends of errors when building the game


so my Unity worked fine until now, last time I built the game was yesterday and everything worked fine. Since yesterday the only thing that I did is that I changed some colliders and removed facebook gamecenter plugin. Now, when I try to play the game, everything is fine, but when I try to build it, it starts giving me 250 errors in total.

The last error always says :

"Error building Player because scripts had compiler errors"

Others error are connected to the standard assets.

Screenshots: screenshot01 screenshot02


Solution

  • For some reason this happens. There a few options of fixing it, but the easiest one to simply re-install Unity.

    PS: You wont lose any data.