Question by
Megamondo · May 18, 2021 at 03:00 PM ·
error messagelibraryartifactsc# dll
Assembly-CSharp-Editor.dll keeps giving error when scripts are being compiled
I've been having this error pop up as soon as the c# scripts in my project are compiled and I don't know why. It won't go away when I clear the debug window and it has really slowed down development.
Here's the error message:
Script updater for Library\Bee\artifacts\1900b0aE.dag\Assembly-CSharp-Editor.dll failed with exitcode -532462766 and stdout: Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Projs\Games\Unity-Projects\Game-Jam-1\Game Jam 1\Unity[^\]+(\.ref)?\.dll$'.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path)
at ScriptUpdater.Program.<>c__DisplayClass8_0.<Main>b__0()
at ScriptUpdater.Program.Profile[T](Func`1 toProfile, Int64& elapsedTime)
at ScriptUpdater.Program.Main(String[] args)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Program.Main(String[] args)
Comment
Your answer
Follow this Question
Related Questions
Error: 'failed to open source file: 'CoreRP/ShaderLibrary/Common.hlsl' what to do? 1 Answer
'writing asset file failed' when rebuilding Library folder 2 Answers
Animator not initialized "cautions" 0 Answers
Hello, I have problem with building a project on Android with Vuforia 0 Answers
Unity package manage error 0 Answers