x


Exception: Error building player because scripts had compiler errors

Every time i try to build settings, i get this error. i even tried it with a blank terrain and nothing else. I am new here and would like some solutions please. I have a minimal understanding of scripting and programming but i can make it work if i get detailed solutions.

Exception: Error building Player because scripts had compiler errors UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPlayerWindow.cs:341) UnityEditor.BuildPlayerWindow.GUIBuildButtons (Boolean enableBuildButton, Boolean enableBuildAndRunButton, Boolean canInstallInBuildFolder) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPlayerWindow.cs:942) UnityEditor.BuildPlayerWindow.ShowBuildTargetSettings () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPlayerWindow.cs:923) UnityEditor.BuildPlayerWindow.OnGUI () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPlayerWindow.cs:697) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/GUI/DockArea.cs:213) UnityEditor.HostView.Invoke (System.String methodName) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/GUI/DockArea.cs:206) UnityEditor.HostView.OnGUI () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/GUI/DockArea.cs:107)

thanks all.

more ▼

asked Mar 24 '11 at 01:25 AM

Jarryd Bridges gravatar image

Jarryd Bridges
3 1 1 2

Submit a bug, perhaps post on forums too... Seems like a Unity error/glitch... But I'm no expert.

Mar 24 '11 at 01:38 AM Justin Warner
(comments are locked)
10|3000 characters needed characters left

4 answers: sort voted first

U've got errors in ur scripts. Can u post me ur scripts for helping u solve the problems?

more ▼

answered Mar 24 '11 at 07:02 AM

Cutecrap gravatar image

Cutecrap
16

(comments are locked)
10|3000 characters needed characters left

please am having the same problem how do i fix it........?

more ▼

answered Sep 13 '11 at 01:18 PM

zicomally gravatar image

zicomally
1

(comments are locked)
10|3000 characters needed characters left

please tell me what you did, having the same prob and its frustrating!!!

more ▼

answered Oct 10 '11 at 09:51 AM

paire_creative gravatar image

paire_creative
1

(comments are locked)
10|3000 characters needed characters left

pleeeeease tell me what you did, having the same prob and it's very frustrating!!

more ▼

answered Oct 10 '11 at 09:52 AM

paire_creative gravatar image

paire_creative
1

(comments are locked)
10|3000 characters needed characters left

hey i fixed it. nevermind. i messed up some GUI scripts for adding terrain export as an object stuff. i wont tell you what i did though. its embarrasing and it definitely has nothing to do with confusing javascript and C#.

more ▼

answered Mar 26 '11 at 06:05 AM

Jarryd Bridges gravatar image

Jarryd Bridges
3 1 1 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2025
x831
x133
x116
x8

asked: Mar 24 '11 at 01:25 AM

Seen: 2701 times

Last Updated: Oct 10 '11 at 09:52 AM