- Home /
Compiler Errors on client server login database
I am using this tutorial series: http://www.youtube.com/watch?v=RK6o9wMsV0I
EDIT: I made a forum topic for this problem: my code can be found here: http://forum.unity3d.com/threads/168548-HELP!-Compiler-Errors-on-Client-Server-Login-Database
I am just trying to implement the way he creates xml files and read/writes to them for user information in a simple way, that i can then build off of. I am sitting here scratching my head trying to figure out these 5 errors and 2 warnings i get every time i try to build.
If anyone can please help me it would be greatly appreciated, let me know if you need more information, like what my scripts contain or how i set up the scenes
the error log for my most recent attempt to build:
building target 5
- starting compile Assets/Builds/Server/Server_Data/Managed/Assembly-CSharp.dll, for buildtarget 5
ApplicationException: Unable to find a suitable compiler
at UnityEditor.Scripting.ScriptCompilers.CreateCompilerInstance (MonoIsland island, Boolean buildingForEditor, BuildTarget targetPlatform) [0x00074] in C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\Scripting\ScriptCompilers.cs:99
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:606)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:483)
UnityEditor.BuildPlayerWindow:GUIBuildButtons(Boolean, Boolean, Boolean, BuildPlatform) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1354)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1322)
UnityEditor.BuildPlayerWindow:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:999)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:234)
UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:227)
UnityEditor.HostView:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:120)
(Filename: C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/Scripting/ScriptCompilers.cs Line: 99)
Failed to create compiler instance
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:606)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:483)
UnityEditor.BuildPlayerWindow:GUIBuildButtons(Boolean, Boolean, Boolean, BuildPlatform) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1354)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1322)
UnityEditor.BuildPlayerWindow:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:999)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:234)
UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:227)
UnityEditor.HostView:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:120)
[C:/BuildAgent/work/812c4f5049264fad/Editor/Src/AssetPipeline/MonoCompile.cpp line 89]
(Filename: C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/BuildPlayerWindow.cs Line: 606)
- Finished compile Assets/Builds/Server/Server_Data/Managed/Assembly-CSharp.dll
Compilation failed because the compiler couldn't be executed!
(Filename: Line: 84)
Error building Player because scripts had compiler errors
(Filename: Line: -1)
- starting compile Assets/Builds/Server/Server_Data/Managed/Assembly-CSharp.dll, for buildtarget 5
ApplicationException: Unable to find a suitable compiler
at UnityEditor.Scripting.ScriptCompilers.CreateCompilerInstance (MonoIsland island, Boolean buildingForEditor, BuildTarget targetPlatform) [0x00074] in C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\Scripting\ScriptCompilers.cs:99
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:606)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:483)
UnityEditor.BuildPlayerWindow:GUIBuildButtons(Boolean, Boolean, Boolean, BuildPlatform) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1354)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1322)
UnityEditor.BuildPlayerWindow:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:999)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:234)
UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:227)
UnityEditor.HostView:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:120)
(Filename: C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/Scripting/ScriptCompilers.cs Line: 99)
Failed to create compiler instance
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:606)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:483)
UnityEditor.BuildPlayerWindow:GUIBuildButtons(Boolean, Boolean, Boolean, BuildPlatform) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1354)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:1322)
UnityEditor.BuildPlayerWindow:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\BuildPlayerWindow.cs:999)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:234)
UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:227)
UnityEditor.HostView:OnGUI() (at C:\BuildAgent\work\812c4f5049264fad\Editor\Mono\GUI\DockArea.cs:120)
[C:/BuildAgent/work/812c4f5049264fad/Editor/Src/AssetPipeline/MonoCompile.cpp line 89]
(Filename: C:/BuildAgent/work/812c4f5049264fad/Editor/Mono/BuildPlayerWindow.cs Line: 606)
- Finished compile Assets/Builds/Server/Server_Data/Managed/Assembly-CSharp.dll
Compilation failed because the compiler couldn't be executed!
(Filename: Line: 84)
Unloading 1 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)
Unloading 4 unused Assets to reduce memory usage. Loaded Objects now: 566. Operation took 32.487001 ms.
System memory in use: 13.2 MB.
*** Cancelled 'Build.Player.WindowsStandalonePlayer' in 0 seconds
Can anybody point me in the right direction? all the scripts and everything about the project is on my forum post. i don 't understand these errors i'm getting. am i missing something? even if you don't have a solution to this, maybe someone can help me understand the errors i'm getting.
Answer by Erisat · Feb 02, 2013 at 08:47 AM
I finally got this working thanks to John Bowditch's answer to this question:
http://answers.unity3d.com/questions/38447/how-can-i-fix-error-applicationexception-unable-to.html
his answer to that question made me think and it turns out that my errors were cause by me trying to build into the assets directory.
I tried building just in the project directory instead, and didnt get any errors :)
i built the server, built the client, ran both, and it works perfectly :)
so, thank you Unity Answers!! lol