I’m trying to update my 5.0 checkout/build, and running into setup trouble with a missing Protobuf generation tool.
D:\UE5>git pull -r
Created autostash: 2583766894f7
Current branch 5.0 is up to date.
Applied autostash.
D:\UE5>Setup.bat
Checking dependencies...
Registering git hooks...
Installing prerequisites...
D:\UE5>GenerateProjectFiles.bat
Setting up Unreal Engine 5 project files...
Using bundled DotNet SDK
Building UnrealBuildTool...
Log file: D:\UE5\Engine\Programs\UnrealBuildTool\Log_GPF.txt
Some Platforms were skipped due to invalid SDK setup: Mac, IOS, Android, Linux, LinuxArm64, TVOS.
See the log file for detailed information
Binding IntelliSense data...
WARNING: Exception while generating include data for UnrealEditor: Unable to instantiate module 'Protobuf': System.IO.FileNotFoundException: ThirdParty\vcpkg\Win64\x64-windows-static-md-v141\protobuf_x64-windows-static-md-v141\lib\libprotobuf.lib
at UnrealBuildTool.ModuleRules.AddVcPackage(String PackageName, Boolean AddInclude, String[] Libraries) in D:\UE5\Engine\Source\Programs\UnrealBuildTool\Configuration\ModuleRules.cs:line 1453
at Protobuf..ctor(ReadOnlyTargetRules Target) in D:\UE5\Engine\Source\ThirdParty\Protobuf\Protobuf.Build.cs:line 23
(referenced via allmodules option -> MLDeformer.Build.cs -> NeuralNetworkInference.Build.cs -> ONNXRuntime.Build.cs)
Binding IntelliSense data... 100%
Writing project files... 100%
D:\UE5>git show-ref 5.0
8cb79475aa7cf70d2740b6029ac2f64102e9a36f refs/heads/5.0
8cb79475aa7cf70d2740b6029ac2f64102e9a36f refs/remotes/origin/5.0
D:\UE5>
Interestingly, the v142
version of the library does exist in the checkout – but something is referencing version 141 instead.
What process is supposed to pull in this other version of the protobuf library?
(When posting this question, I got an error about including a version tag in the post, even though 5-0 was tagged, so I also added 4-27 even though this is about 5.0)