My project ran into a sudden kinda anoying problem. I can no longer build my game, and I have no idea how this came up and how to fix it.
The error:
Error building Player because scripts had compiler errors
UnityEditor.HostView:OnGUI()
Error in file:
E:/BuildAgent/work/71ca6fec1b41cc30/Editor/Mono/BuildPlayerWindow.cs at line: 289
I get this error in both standalone and web build, and switching between api compatibility levels does not change anything (a other forum topic about this problem suggested this as a solution).
No you are right, there are more errors and the require fixing ofcourse ^^. Yet the where there yesterday as well and I could build without a problem, and nothing changed in the scripts yet.
What I did not notice because of that, where 3 new errors… -.-
What did change apparently is that the immage effects where moved to a different folder in the project. I gues they did not like them there or something o.O
Returned them to their original location and the project now builds on all settings without a single problem.
So the problem whas fully because we where to messy with the project folder :\