Unity error when build. Error building Player because scripts had compiler errors Just go to every script file you have written and check "using" line. CTRL R + G to Remove and Sort Usings so your code will be working.
Personal weblog of Selim Özbudak