I’m also having no success trying to do a Chaos build of 4.24.0. I’ve downloaded the 4.24.0-release branch via Git, and added
bCompileChaos = true;
to Engine/Source/*.Target.cs, but I’m getting the failure below. I’m trying to make an installed build using:
Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -clean -set:WithWin64=true -set:WithLinux=true -set:WithServer=true -set:HostPlatformDDCOnly=false -set:WithWin32=false -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinuxAArch64=false -set:WithPS4=false -set:WithXboxOne=false -set:WithSwitch=false -set:WithLumin=false -set:WithLuminMac=false -set:WithHoloLens=false
It looks like it’s trying to mix Chaos and PhysX types, so I thought perhaps Chaos isn’t fully integrated in this release and not meant to work, but then there are references to some new Chaos features in the 4.24 release notes.
** For UE4Editor-Win64-DebugGame + UE4Editor-Win64-Development
Module.GeometryCollectionEngine.cpp
C:/UE/UnrealEngine/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp(1948): error C2440: 'initializing': cannot convert from 'FPhysScene *' to 'Chaos::FPhysScene_ChaosInterface *'
C:/UE/UnrealEngine/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp(1948): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:/UE/UnrealEngine/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp(1949): error C2027: use of undefined type 'Chaos::FPhysScene_ChaosInterface'
c:\ue\unrealengine\engine\source\runtime\experimental\chaossolvers\public\PBDRigidsSolver.h(64): note: see declaration of 'Chaos::FPhysScene_ChaosInterface'
C:/UE/UnrealEngine/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp(1952): error C2039: 'GetScene': is not a member of 'FPhysScene_PhysX'
C:\UE\UnrealEngine\Engine\Source\Runtime\Engine\Public\Physics/PhysicsInterfaceUtils.h(11): note: see declaration of 'FPhysScene_PhysX'
Module.Engine.10_of_45.cpp
C:\UE\UnrealEngine\Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): error C2664: 'uint32 FindFaceIndex(const FHitLocation &,const FVector &)': cannot convert argument 1 from 'ChaosInterface::FSweepHit' to 'const FHitLocation &'
C:\UE\UnrealEngine\Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): note: Reason: cannot convert from 'ChaosInterface::FSweepHit' to 'const FHitLocation'
C:\UE\UnrealEngine\Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\UE\UnrealEngine\Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): error C2789: 'FaceIdx': an object of const-qualified type must be initialized
C:\UE\UnrealEngine\Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): note: see declaration of 'FaceIdx'
BUILD FAILED: failed, retries not enabled:
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED