Migration from 5.3.2 to 5.4.2

Hi all. I have odd compiling issue similar to Can't compile UE5.4

I’ve tried solutions from that page but they didn’t help me. I updated visual studio component and
enabled MSVC 143 build tools 14.38-17.8. Still can not compile:

0>Using bundled DotNet SDK version: 6.0.302
0>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" TacticalEditor Win64 DebugGame -Project="D:\Games\Tactical\Tactical.uproject" -WaitMutex
0>Log file: C:\Users\Fenyx\AppData\Local\UnrealBuildTool\Log.txt
0>Using 'git status' to determine working set for adaptive non-unity build (D:\Games\Tactical).
0>Waiting for 'git status' command to complete
0>Building TacticalEditor...
0>Using Visual Studio 2022 14.38.33138 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).

.............
ImplicitObjectScaled.h(1129): Error C2760 :... etc

I’ve tried different versions(14.39-17.9), open visual studio and apply required updates, nothing help
I’ve tried to run it on 2 Windows PC with same errors. But also very strange I was able to run 5.4 once even without 14.38-17.8, but when I changed files and rebuilt solution, error appears again and now I can not avoid it :frowning:

Maybe someone could share list of required components for 5.4? What else can I do to get rid of that error?
Thanks!

Hi, I’m the poster of the issue you mentioned. If you are for sure on the correct compiler version,
Can you try this:

I think the issue was caused by compiler changes. The above change shouldn’t be required, but I had it occur even on vanilla UE5.4

Hi! Thank you for reply. Currently I downgraded version back to 5.3 )
Regarding solution, could you please explain it? I though need to change engine source code to provided, but I see no any difference what I have now (but currently I check 5.3, are there changes in this file in 5.4?).

I think the compiler just doesn’t like the syntax. I don’t believe my changes make any functional difference to the code. I’m using MSVC 14.38-17.8 for reference, but I’m also forcing C++ 20 in my project settings so maybe that has something to do with it. But it works for me on ue5.4

Cool, thx a lot. I’ll try it