#19901·o3de

Bug Report - physx5 unable to build with ninja multi-config on windows

Author: jabbadablackCreated Jul 7, 2026Updated Sep 1, 2026
Labelskind/bugsig/platformtriage/acceptedpriority/majorsig/simulation

Describe the bug Physx5 is unable to build in windows when configured with ninja multi-config.

Assets required Built with vs llvm clang with this command:

cmake -B build/windows -S . -G "Ninja Multi-Config"
cmake --build build/windows --target Editor --config profile -j 8

on a fresh project.

Steps to reproduce Steps to reproduce the behavior:

  1. make a project with dev branch engine
  2. run configure command
  3. build
  4. See error at around step ~1500

Screenshots/Video

[1713/2583] Building CXX object External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_7_cxx.cxx.obj
FAILED: [code=1] External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_7_cxx.cxx.obj
C:\PROGRA~1\MICROS~1\18\COMMUN~1\VC\Tools\Llvm\x64\bin\CLANG_~1.EXE -DAZ_BUILD_CONFIGURATION_TYPE=\"profile\" -DAZ_ENABLE_DEBUG_TOOLS -DAZ_ENABLE_TRACING -DAZ_PHYSICS_DEBUG_ENABLED -DAZ_PROFILE_BUILD -DNDEBUG -DNOMINMAX -DPHYSX_ENABLE_MULTI_THREADING -DPHYSX_SETREG_GEM_NAME=\"PhysX5\" -DPX_PHYSX_STATIC_LIB -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_FORTIFY_SOURCE=2 -D_HAS_EXCEPTIONS=0 -D_PROFILE -D_WIN32 -D_WIN64 -DCMAKE_INTDIR=\"profile\" -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/. -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Source -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/Source/Platform/Windows -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Include -IC:/Users/cisco/O3DE/Engines/Seer/Gems/LmbrCentral/Code/include -IC:/Users/cisco/O3DE/Engines/Seer/cmake/Platform/Common/ciso646-include -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzCore/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzCore/Platform/Windows -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzCore/Platform/Common -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzFramework/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzFramework/Platform/Windows -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzNetworking/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzNetworking/Platform/Common -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzNetworking/Platform/Windows -IC:/Users/cisco/O3DE/Projects/Hammer-Sandbox/build/windows/o3de/Code/Framework/AzNetworking/Azcg/Generated/AzNetworking -IC:/Users/cisco/O3DE/Engines/Seer/Code/Legacy/CryCommon/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Legacy/CryCommon/.. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Legacy/CryCommon/Platform/Windows -isystem C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include/foundation -isystem C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include/geometry -isystem C:/Users/cisco/.o3de/3rdParty/packages/Lua-5.4.4-rev1-windows/Lua/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/RapidJSON-1.1.0-rev1-multiplatform/RapidJSON/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/RapidXML-1.13-rev1-multiplatform/RapidXML/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/zlib-1.2.11-rev5-windows/zlib/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/zstd-1.35-multiplatform/zstd/lib -isystem C:/Users/cisco/.o3de/3rdParty/packages/cityhash-1.1-multiplatform/cityhash/src -isystem C:/Users/cisco/.o3de/3rdParty/packages/lz4-1.9.4-rev1-windows/lz4/include -Wno-character-conversion -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Wno-error=deprecated-volatile -Wno-error=character-conversion -Wno-inconsistent-missing-override -Wrange-loop-analysis -Wno-dllexport-explicit-instantiation-decl -Wno-parentheses -Wno-reorder -Wno-switch -Wno-undefined-var-template -Wno-unknown-warning-option -msse3 -mf16c -Wno-deprecated-declarations -fno-fast-math  -O2 -g -fstack-protector-all -fstack-check -std=c++20 -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -MD -MT External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_7_cxx.cxx.obj -MF External\PhysX5-560cac47\CMakeFiles\PhysX5.Static.dir\profile\Unity\\\unity_7_cxx.cxx.obj.d -o External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_7_cxx.cxx.obj -c C:/Users/cisco/O3DE/Projects/Hammer-Sandbox/build/windows/External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/Unity/unity_7_cxx.cxx
In file included from C:/Users/cisco/O3DE/Projects/Hammer-Sandbox/build/windows/External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/Unity/unity_7_cxx.cxx:7:
In file included from C:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/Code/Source/System/PhysXAllocator.cpp:8:
In file included from C:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Source\System/PhysXAllocator.h:10:
In file included from C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\PxPhysicsAPI.h:99:
In file included from C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation/PxVecMath.h:1327:
In file included from C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation\PxInlineAoS.h:36:
C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation\windows/PxWindowsInlineAoS.h:3088:8: error: member reference base type 'VecU16V' (aka '__m128') is not a structure or union
 3088 |         result.m128_u16[0] = PxU16((a).m128_u16[0] > (b).m128_u16[0]);
      |         ~~~~~~^~~~~~~~~
C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation\windows/PxWindowsInlineAoS.h:3088:32: error: member reference base type 'VecU16V' (aka '__m128') is not a structure or union
 3088 |         result.m128_u16[0] = PxU16((a).m128_u16[0] > (b).m128_u16[0]);
      |                                    ~~~^~~~~~~~~
. . . 
[1714/2583] Building CXX object External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_5_cxx.cxx.obj
FAILED: [code=1] External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_5_cxx.cxx.obj
C:\PROGRA~1\MICROS~1\18\COMMUN~1\VC\Tools\Llvm\x64\bin\CLANG_~1.EXE -DAZ_BUILD_CONFIGURATION_TYPE=\"profile\" -DAZ_ENABLE_DEBUG_TOOLS -DAZ_ENABLE_TRACING -DAZ_PHYSICS_DEBUG_ENABLED -DAZ_PROFILE_BUILD -DNDEBUG -DNOMINMAX -DPHYSX_ENABLE_MULTI_THREADING -DPHYSX_SETREG_GEM_NAME=\"PhysX5\" -DPX_PHYSX_STATIC_LIB -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_FORTIFY_SOURCE=2 -D_HAS_EXCEPTIONS=0 -D_PROFILE -D_WIN32 -D_WIN64 -DCMAKE_INTDIR=\"profile\" -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/. -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Source -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/Source/Platform/Windows -IC:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Include -IC:/Users/cisco/O3DE/Engines/Seer/Gems/LmbrCentral/Code/include -IC:/Users/cisco/O3DE/Engines/Seer/cmake/Platform/Common/ciso646-include -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzCore/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzCore/Platform/Windows -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzCore/Platform/Common -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzFramework/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzFramework/Platform/Windows -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzNetworking/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzNetworking/Platform/Common -IC:/Users/cisco/O3DE/Engines/Seer/Code/Framework/AzNetworking/Platform/Windows -IC:/Users/cisco/O3DE/Projects/Hammer-Sandbox/build/windows/o3de/Code/Framework/AzNetworking/Azcg/Generated/AzNetworking -IC:/Users/cisco/O3DE/Engines/Seer/Code/Legacy/CryCommon/. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Legacy/CryCommon/.. -IC:/Users/cisco/O3DE/Engines/Seer/Code/Legacy/CryCommon/Platform/Windows -isystem C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include/foundation -isystem C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include/geometry -isystem C:/Users/cisco/.o3de/3rdParty/packages/Lua-5.4.4-rev1-windows/Lua/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/RapidJSON-1.1.0-rev1-multiplatform/RapidJSON/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/RapidXML-1.13-rev1-multiplatform/RapidXML/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/zlib-1.2.11-rev5-windows/zlib/include -isystem C:/Users/cisco/.o3de/3rdParty/packages/zstd-1.35-multiplatform/zstd/lib -isystem C:/Users/cisco/.o3de/3rdParty/packages/cityhash-1.1-multiplatform/cityhash/src -isystem C:/Users/cisco/.o3de/3rdParty/packages/lz4-1.9.4-rev1-windows/lz4/include -Wno-character-conversion -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Werror -Wno-error=deprecated-volatile -Wno-error=character-conversion -Wno-inconsistent-missing-override -Wrange-loop-analysis -Wno-dllexport-explicit-instantiation-decl -Wno-parentheses -Wno-reorder -Wno-switch -Wno-undefined-var-template -Wno-unknown-warning-option -msse3 -mf16c -Wno-deprecated-declarations -fno-fast-math  -O2 -g -fstack-protector-all -fstack-check -std=c++20 -D_DLL -D_MT -Xclang --dependent-lib=msvcrt -MD -MT External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_5_cxx.cxx.obj -MF External\PhysX5-560cac47\CMakeFiles\PhysX5.Static.dir\profile\Unity\\\unity_5_cxx.cxx.obj.d -o External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/profile/Unity/unity_5_cxx.cxx.obj -c C:/Users/cisco/O3DE/Projects/Hammer-Sandbox/build/windows/External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/Unity/unity_5_cxx.cxx
In file included from C:/Users/cisco/O3DE/Projects/Hammer-Sandbox/build/windows/External/PhysX5-560cac47/CMakeFiles/PhysX5.Static.dir/Unity/unity_5_cxx.cxx:4:
In file included from C:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/Code/Source/PhysXCharacters/Components/CharacterGameplayComponent.cpp:9:
In file included from C:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Source\PhysXCharacters/Components/CharacterGameplayComponent.h:12:
In file included from C:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Source\PhysXCharacters/Components/CharacterControllerComponent.h:17:
In file included from C:/Users/cisco/O3DE/Engines/Seer/Gems/PhysX/Core/PhysX5/../Code/Source\PhysXCharacters/API/CharacterController.h:12:
In file included from C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\PxPhysicsAPI.h:99:
In file included from C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation/PxVecMath.h:1327:
In file included from C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation\PxInlineAoS.h:36:
C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation\windows/PxWindowsInlineAoS.h:3088:8: error: member reference base type 'VecU16V' (aka '__m128') is not a structure or union
 3088 |         result.m128_u16[0] = PxU16((a).m128_u16[0] > (b).m128_u16[0]);
      |         ~~~~~~^~~~~~~~~
C:/Users/cisco/.o3de/3rdParty/packages/PhysX-5.1.1-rev4-windows/PhysX/physx/include\foundation\windows/PxWindowsInlineAoS.h:3088:32: error: member reference base type 'VecU16V' (aka '__m128') is not a structure or union
 3088 |         result.m128_u16[0] = PxU16((a).m128_u16[0] > (b).m128_u16[0]);
      |                                    ~~~^~~~~~~~~
. . .

Found in Branch development

Commit ID from o3de/o3de Repository https://github.com/o3de/o3de/commit/99d442decb859bf7ce73ea946bdf535eecb12cde

Desktop/Device (please complete the following information):

  • Device: PC
  • OS: Windows
  • Version 11
  • CPU AMD RYZEN AI MAX 385 w/ Radeon 8050S
  • GPU AMD Radeon(TM) 8050S Graphics
  • Memory 32 GB