Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug how do i fix this compile error

Discussion in 'Editor & General Support' started by magnusp074, Mar 31, 2021.

  1. magnusp074

    magnusp074

    Joined:
    Feb 24, 2021
    Posts:
    1
    I'm getting this error no matter which version i'm on i have tried deleting unity and reinstalling it and it didn't work. Can someone please help me with this

    Win32Exception: ApplicationName='C:\Users\magnu\Desktop\unity\Editor\Data\Tools\RoslynScripts\unity_csc.bat', CommandLine='/noconfig @temp/UnityTempFile-a0cde046e00757b4aa51a805283a61a4', CurrentDirectory='', Native error= Den angivne fil blev ikke fundet.

    System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <aa976c2104104b7ca9e1785715722c9d>:0)
    System.Diagnostics.Process.Start () (at <aa976c2104104b7ca9e1785715722c9d>:0)
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Utils.Program.Start () (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.BeginCompiling () (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.CompilationTask.QueuePendingAssemblies () (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.CompilationTask.Poll () (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileScriptAssemblies (UnityEditor.Scripting.ScriptCompilation.ScriptAssembly[] scriptAssemblies, UnityEditor.Scripting.ScriptCompilation.ScriptAssemblySettings scriptAssemblySettings, System.String tempBuildDirectory, UnityEditor.Scripting.ScriptCompilation.CompilationTaskOptions compilationTaskOptions, UnityEditor.Scripting.ScriptCompilation.EditorCompilation+CompileScriptAssembliesOptions compileScriptAssembliesOptions) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileScriptsWithSettings (UnityEditor.Scripting.ScriptCompilation.ScriptAssemblySettings scriptAssemblySettings, System.String tempBuildDirectory, UnityEditor.Scripting.ScriptCompilation.TargetAssembly[]& notCompiledTargetAssemblies, System.String[]& notCompiledScripts, UnityEditor.Scripting.ScriptCompilation.CompilationTaskOptions compilationTaskOptions) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.CompileScripts (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions editorScriptCompilationOptions, UnityEditor.BuildTargetGroup platformGroup, UnityEditor.BuildTarget platform, System.String[] extraScriptingDefines, UnityEditor.Scripting.ScriptCompilation.CompilationTaskOptions compilationTaskOptions) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface+<>c__DisplayClass40_0.<CompileScriptsNoStop>b__0 () (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface.EmitExceptionAsError[T] (System.Func`1[TResult] func, T returnValue) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:CompileScriptsNoStop(EditorScriptCompilationOptions, BuildTargetGroup, BuildTarget, String[])