- Home /
Character controller asset errors! Please help
I only just got started with unity and I imported the character controller asset and all I did was drag and dropped the first person controller into the scene and I can't play the game because of compiler errors. But I got the errors when I imported the asset. When I double click the error in the console it doesn't show me where the error is. How do I fix the errors? The error I get is:
Could not start compilationWin32Exception: ApplicationName='"C:/Program Files (x86)/Unity/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/Program Files (x86)/Unity/Editor/Data/Mono\lib/mono/unity\us.exe" @Temp/UnityTempFile-6842ed7a5d3a4c04eb50c65426fb103d', CurrentDirectory='C:/Users/Nope/Documents/Terrain Test/Assets/..' System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) System.Diagnostics.Process.Start () (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () UnityEditor.Utils.Program.Start () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Utils/Program.cs:33) UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List1 arguments, Boolean setMonoEnvironmentVariables) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:32)UnityEditor.Scripting.Compilers.MonoScriptCompilerBase.StartCompiler (BuildTarget target, System.String compiler, System.Collections.Generic.List1 arguments) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MonoScriptCompilerBase.cs:20) UnityEditor.Scripting.Compilers.UnityScriptCompiler.StartCompiler () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/UnityScriptCompiler.cs:63) UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:47)
@Lachieblue I have the same issue. Do you know how to fix it?
Answer by Gary_W · Jul 12, 2014 at 05:40 AM
The error most likely happened because you combined the standard first-person controller with the one you got off the assets store. What you need to do is try deleting the asset and first-person controller. After that re-download the controller you want to use from the asset store. Than to use the controller simply drag and add it to your character in the scene. If this doesn't work just tell me and I'll see what else I can think of :)
~Gary
I just used the normal character controller asset that you get from unity
The character controller package and the first-person controller are two different items. So by dragging and dropping the character controller package into the FP controller you created an error. This error showed up because there was one or more conflicting scripts. So ins$$anonymous$$d of drag and dropping the character controller asset into FP controller. You should dragged the desired controller script and/or prefab to your character. $$anonymous$$ake sense? @Lachieblue
What I did was... First, I started a new project. Second, I went to assets, import package, character controller. Third, I went into standard assets in project, then into characters, then drag and dropped first person controller into the scene. But when I just imported the package character controller it made errors.
In other words I just imported the character controller package with nothing in project and it made errors
I guess I dont understand. What is the exact name of the asset you imported? @Lachieblue
Answer by Multiwilliam25 · Jun 09, 2020 at 08:53 PM
Hello, I am new to Unity, I have even purchased the "Unity From Zero To Proficiency (Foundations) book by Patrick Felicia, and in that book it specifically asks me to download this assets for a tutorial, but unfortunately it has an issue. under the Assets>Standard Assets>Characters>First Person Controller>prefabs is the FPSController has missing scripts, and I am still too new to Unity to try to fix, I just downloaded it right from the Unity Assets Store and it came out missing its scripts, which I don't know how to add or resolve, so I can't continue with my tutorial until i can resolve this issue. Please help me.