An project to install vpm package published in non-official registry with unitypackage file.
MAと[AvatarMenuCreaterForMA-1_1_1.zip](https://github.com/anatawa12/VPMPackageAutoInstaller/files/13062703/AvatarMenuCreaterForMA-1_1_1.zip) を先にインストールした状態で、[VPAI](https://anatawa12.github.io/VPMPackageAutoInstaller/) から作った以下のパッケージをインストールするとエラーが発生する。 [AvatarMenuCreaterForMA-vcc.zip](https://github.com/anatawa12/VPMPackageAutoInstaller/files/13062704/AvatarMenuCreaterForMA-vcc.zip) legacyFoldersの扱いがカレントディレクトリではなくルートからの計算になってしまっている。 補足としてこれは`D:\make\devel\vrchat-AVATAR-SANDBOX`にあるプロジェクトでインポートしたが、`D:\make\devel`は`X:\make\devel`へのシンボリックリンクです。 VCCからの更新だと正常に削除されます ``` removing legacy asset at \Assets/AvatarMenuCreaterForMA: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Assets\AvatarMenuCreaterForMA'. at System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) [0x000f7] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) [0x00006] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () [0x00054] in <eae584ce26bc40229c1b1aa476bfa589>:0 at 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) [0x000d6] in <eae584ce26bc40229c1b1aa476bfa589>:0 at 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) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0 at 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) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.Directory.InternalGetDirectories (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.Directory.GetDirectories (System.String path) [0x0000e] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.Directory.RecursiveDelete (System.String path) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.IO.Directory.Delete (System.String path, System.Boolean recursive) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Anatawa12.VrcGet.CsUtils+<>c__DisplayClass7_0.<remove_dir_all>b__0 () [0x00000] in <1b8911267a654ce39965ac3e29719be6>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Anatawa12.VrcGet.CsUtils+<remove_dir_all>d__7.MoveNext () [0x00076] in <1b8911267a654ce39965ac3e29719be6>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Anatawa12.VrcGet.UnityProject+<<do_add_package_request>g__remove_folder|9_2>d.MoveNext () [0x0006e] in <1b8911267a654ce39965ac3e29719be6>:0 UnityEngine.Debug:LogError (object) Anatawa12.VrcGet.UnityProject/<<do_add_package_request>g__remove_folder|9_2>d:MoveNext () System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception) Anatawa12.VrcGet.CsUtils/<remove_dir_all>d__7:MoveNext () System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object) Anatawa12.VpmPackageAutoInstaller.SynchronizationContextImpl:Execute () Anatawa12.VpmPackageAutoInstaller.SyncedTask`1<bool>:Execute () Anatawa12.VpmPackageAutoInstaller.VpmPackageAutoInstaller:DoInstall () Anatawa12.VpmPackageAutoInstaller.VpmPackageAutoInstaller/<DoAutoInstall>d__3:MoveNext () UnityEngine.UnitySynchronizationContext:ExecuteTasks () ``` ``` removing legacy asset at \Assets/AvatarMenuCreaterForMA: System.IO.DirectoryNotFoundException: Could not find a part of the path "\Assets/AvatarMenuCreaterForMA.meta". at System.IO.File.Delete (System.String path) [0x00058] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Anatawa12.VrcGet.CsUtils+<>c__DisplayClass8_0.<remove_file>b__0 () [0x00000] in <1b8911267a654ce39965ac3e29719be6>:0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Anatawa12.VrcGet.CsUtils+<remove_file>d__8.MoveNext () [0x00076] in <1b8911267a654ce39965ac3e29719be6>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at Anatawa12.VrcGet.UnityProject+<<do_add_package_request>g__remove_meta_file|9_0>d.MoveNext () [0x0006d] in <1b8911267a654ce39965ac3e29719be6>:0 UnityEngine.Debug:LogError (object) Anatawa12.VrcGet.UnityProject/<<do_add_package_request>g__remove_meta_file|9_0>d:MoveNext () System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception) Anatawa12.VrcGet.CsUtils/<remove_file>d__8:MoveNext () System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object) Anatawa12.VpmPackageAutoInstaller.SynchronizationContextImpl:Execute () Anatawa12.VpmPackageAutoInstaller.SyncedTask`1<bool>:Execute () Anatawa12.VpmPackageAutoInstaller.VpmPackageAutoInstaller:DoInstall () Anatawa12.VpmPackageAutoInstaller.VpmPackageAutoInstaller/<DoAutoInstall>d__3:MoveNext () UnityEngine.UnitySynchronizationContext:ExecuteTasks () ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by Narazaka and has received 0 comments.