I found an error in the CMakeList.txt file used to compile XboxOne PhysX library (3.4). The compiler flag declared at the line 20 should be wrong because there is written /0x instead of /Ox
This is causing the Release (Shipping) version of PhysX to be built with /O2 instead of /Ox on Xbox, whereas Profile and Checked are compiled with /Ox
This was flagged back in Mar '17 but it looks like it dropped off the radar. I have also found the same issue with the Apex CMakeList.txt file as well so I'll fix that up.
Build PhysX for Xbox in Release.
Notice that there are compile warnings about undefined compiler flags:
/0x and /02
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-68055 in the post.