0
Unity Bug

Unity 2020.2.0 gives error

Delgermurun 1 month ago updated by Lazlo Bonin (Lead Developer) 1 month ago 1

Adding peek to new project and moving it to another folder causes error :

DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Line\Documents\Unity Projects\Test\Temp\RoslynAnalysisRunner'.
System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <9577ac7a62ef43179789031239ba8798>:0)
System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) (at <9577ac7a62ef43179789031239ba8798>:0)
System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () (at <9577ac7a62ef43179789031239ba8798>: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 <9577ac7a62ef43179789031239ba8798>: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 <9577ac7a62ef43179789031239ba8798>: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 <9577ac7a62ef43179789031239ba8798>:0)
System.IO.Directory.InternalGetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) (at <9577ac7a62ef43179789031239ba8798>:0)
System.IO.Directory.GetFiles (System.String path) (at <9577ac7a62ef43179789031239ba8798>:0)
UnityEditor.Scripting.ScriptCompilation.RoslynAnalysisRunner+<>c__DisplayClass43_0.b__1 (System.Object _) (at :0)
UnityEditor.Scripting.ScriptCompilation.CompilationTask.HandleOnCompilationTaskFinished () (at :0)
UnityEditor.Scripting.ScriptCompilation.CompilationTask.Poll () (at :0)
UnityEditor.Scripting.ScriptCompilation.RoslynAnalysisRunner.Poll () (at :0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at :0)

Unity Version:
2020.2.0
Peek Version:
1.3.2
Unity Bug

Hi Delgerium,

Nothing in that error log seems related to Peek or Ludiq.

This seems like an error caused by the support for Roslyn Analyzers added in 2020.2.

Please report this to Unity along with reproduction steps.

Best,

- Lazlo