I installed Unity 2021.1.0f1 today and opened my project. Then a couple of projects were updated via the Package Manager and suddenly this error appeared:
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:\TestProject\Unity[^\]+(\.ref)?\.dll
The last updated project was “MicroSplat - Terrain Collection”.
Probably the error has nothing to do with microsplat.
I don’t quite understand the error message. Why is it looking for a “Unity * .DLL” in the root directory of my project?
Same error:
Script updater for Library\Bee\artifacts900b0aEDbg.dag\Assembly-CSharp-Editor.dll failed .
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.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)
The last updated project was "MicroSplat - Terrain Collection".
Probably the error has nothing to do with microsplat.
I don't quite understand the error message. Why is it looking for a "Unity * .DLL" in the root directory of my project?
Same error:
[Script updater for Library\Bee\artifacts900b0aEDbg.dag\Assembly-CSharp-Editor.dll failed](https://discussions.unity.com/t/833829)