lazysnake61
(lazysnake61)
December 19, 2019, 11:26am
172
I am getting the same compilation error as linked below from both unreal editor 4.24 and 4.24.1 with chaos enabled. Chaos destruction demo editor buiding works perfectly but it doesn’t work with any non chaos as well as 4.23’s chaos projects.
Error:
\Runtime\PhysicsSQ\Public\SQVerifier.h(286): error C2664: ‘uint32 FindFaceIndex(const FHitLocation &,const FVector &)’: cannot convert argument 1 from ‘ChaosInterface::FSweepHit’ to ‘const FHitLocation &’ reason: *cannot convert from ‘ChaosInterface::FSweepHit’ to ‘const FHitLocation’ ** \Runtime\PhysicsSQ\Public\SQVerifier.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called \Engine\Source\Runtime\PhysicsCore\Public*PhysicsInterfaceUtilsCore.h(170): note: see declaration of ‘FindFaceIndex’ \Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): error C2789: ‘FaceIdx’: an object of const-qualified type must be initialized \Engine\Source\Runtime\PhysicsSQ\Public\SQVerifier.h(286): note: see declaration of ‘FaceIdx’ Module.GeometryCollectionEngine.cpp (14:23.42 at +0:00) /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/**GeometryCollectionComponent.cpp(1948): error C2440: ‘initializing’: cannot convert from ‘FPhysScene *’ to ‘Chaos::FPhysScene_ChaosInterface *’ /**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 /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp(1949): error C2027: use of undefined type ‘Chaos::FPhysScene_ChaosInterface’ \Engine\Source\Runtime\Experimental\ChaosSolvers\Public\PBDRigidsSolver.h(64): note: see declaration of ‘Chaos::FPhysScene_ChaosInterface’ /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.cpp(1952): error C2039: ‘GetScene’: is not a member of ‘FPhysScene_PhysX’ \Engine\Source\Runtime\Engine\Public\Physics/PhysicsInterfaceUtils.h(11): note: see declaration of ‘FPhysScene_PhysX’
Error thread https://forums.unrealengine.com/development-discussion/engine-source-github/1696553-4-24-failed-to-build-with-chaos-enabled