Apparently this issue happens when Visual Studio 2022.17.4 is installed. Unity knows about this bug and it should be fixed in Unity 2020.3.42f1
Issue tracker with temporal solution in the bottom comment: https://issuetracker.unity3d.com/issues/il2cpp-windows-builds-fails-when-using-vs-2022-17-dot-4-0-preview
More info here: https://forum.unity.com/threads/workaround-for-building-with-il2cpp-with-visual-studio-2022-17-4.1355570/
1 Like