Search Unity

Updated to Cinemachine 2.7.5, Received Console Error

Discussion in 'Cinemachine' started by aguchhait, Aug 2, 2021.

  1. aguchhait

    aguchhait

    Joined:
    Jul 30, 2021
    Posts:
    2
    Working in Unity2019.2.5f1. I'm new to Cinemachine with my current game and recently updated my package from 2.3.4 to 2.7.5 after learning the previous version had a bug when building that was resolved in an update. Since then, I've been getting a console error I can't seem to get rid of and I'm hoping someone can advise me! I'm attaching screenshots of the error in Unity and posting the text below. Below is also a list of things I've tried so far. Please let me know if I can provide any other helpful information! Thank you so much for your help! :)

    So far I've tried:
    • Reopening and closing and Unity a few times
    • Googling for answers but didn't find this error specifically
    • Updated twice in case once was somehow corrupted
    • Reimported all assets

    Error:
    DirectoryNotFoundException: Could not find a part of the path 'D:\...\Library\PackageCache\com.unity.cinemachine@2.7.5\Samples~\Cinemachine Example Scenes\Shared\Models\UnityCharacter\Models\Materials'.
    System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler`1[TSource] resultHandler, System.Boolean checkHost) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (System.String path, System.String originalUserPath, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.Directory.InternalGetFileSystemEntries (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.DoFiles (System.IO.DefaultWatcherData data, System.String directory, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.UpdateDataAndDispatch (System.IO.DefaultWatcherData data, System.Boolean dispatch) (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.IO.DefaultWatcher.Monitor () (at <9f8c4786222746238eb929db40bf8dd1>:0)
    System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    System.Threading.ThreadHelper.ThreadStart () (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    UnityEngine.UnhandledExceptionHandler:<RegisterUECatcher>m__0(Object, UnhandledExceptionEventArgs)



    upload_2021-8-2_10-43-33.png

    upload_2021-8-2_10-43-48.png
     

    Attached Files:

  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,728
    You might be hitting a path length limitation in Windows. Try moving your project to a directory closer to the root.
     
    aguchhait likes this.
  3. aguchhait

    aguchhait

    Joined:
    Jul 30, 2021
    Posts:
    2
    Thank you so much! That must have been it!