Building my plugin UE5.6 first time and I m getting this error: error C3533: a parameter cannot have a type that contains 'auto'

When you build through Visual studio, a UBT log is created. This will have everything in it regarding the command line invocation, and environment.

As an example from my unreal 5-5 build environment. building from Visual Studio yields this:

12>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64 12>Log file: D:\p4\ue55\Engine\Programs\UnrealBuildTool\Log.txtI would like to see those lines, and the full Log.txt contents.

Also, please attach the Target, and Build files related to the build target that you see in the log (so for my example above, I’d want the UnrealEditor.Target.cs file, and any module’s build.cs file that has this issue). These are highly relevant to what’s going on here. Fundamentally speaking, AdditionalCompilerArguments will be merged into the compile environment. Have you been issuing clean builds inbetween?

Julian