Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Editor throws error after creating new empty project.

Discussion in 'Editor & General Support' started by AllanPenkhasov00, Jan 15, 2023.

  1. AllanPenkhasov00


    Jan 14, 2023
    Hello I'm new to Unity, I just downloaded Unity Hub and Editor. When I want to create a new 2D or 3D project, it creates a project with errors, which are really telling me nothing. It says that it can't find the Library folder with it's folders, well the reason is that I don't have any Library folder in my C:/ drive. Unity has not installed a library folder on this path. I don't know what to do. I reinstalled Unity Hub and Editor several times, I restarted my PC, I'm trying since yesterday, just to get a stable empty project.. It does not work. Can someone help me? I get 90 errors like this.

    Thank you.

    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 'C:\Library\Bee\artifacts\mvdfrm\UnityEngine.ScreenCaptureModule.dll_A27B1FE57073F709.mvfrm'.
    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.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
    at System.IO.StreamWriter..ctor(String path, Boolean append)
    at System.IO.File.CreateText(String path)
    at ApiUpdater.MovedFromOptimizer.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)
    Last edited: Jan 15, 2023
  2. AllanPenkhasov00


    Jan 14, 2023