There is a possible unhandled exception when attempting to migrate LegacySDK3World to Unity 2022.
Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VRC.PackageManagement.CLI.Program.Migrate2019ProjectTo2022(String projectPath, Boolean inPlace) in /home/runner/work/vrc-package-manager/vrc-package-manager/core/vpm-cli/Projects.cs:line 123
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
To Reproduce
Have an old pre-Creator Companion project from Unity 2019.
run vpm migrate 2022 on it.
Expected behavior
It seems I was warned properly. But the exception is unexpected.
Describe the bug
There is a possible unhandled exception when attempting to migrate LegacySDK3World to Unity 2022.
To Reproduce
vpm migrate 2022
on it.Expected behavior
It seems I was warned properly. But the exception is unexpected.
Screenshots
Related Product
VPM CLI
Product Version
0.1.24
OS
macOS / Linux
Additional context
No response