Hello, I am trying to generate Visual Studio project files for an old 4.x UE project of mine.
I received an error log. In particular, this line stands out:
Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
at UnrealBuildTool.VSCodeProjectFileGenerator.WriteConfiguration(String Name, String ProjectName, IEnumerable1 SourceFiles, CppStandardVersion CppStandard, FileReference CompilerPath, DirectoryReference SysRootPath, Dictionary
2 ModuleCommandLines, JsonFile OutFile, DirectoryReference OutputDirectory) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudioCode\VSCodeProjectFileGenerator.cs:line 670
I’m now operating on a new computer and my UE5 is installed on my X: drive (not D:). Is there a way I can fix this issue so I can open my project files?
Thanks!