ensure(false) being fired in FGenericParticlePairMidPhase::FindOrCreateConstraint from key collision.
The licensee reports one of their users reported this issue and they were able to reproduce a few times in the editor.
I've produced a repro-project and they tweaked it to match their setup.
The level contains two blueprints:
The first is a blueprint that inherits from AGeometryCollectionActor, with Geometry Collection and the settings on it are identical to the ones they are using.
The Second is a blueprint that generates a mesh using the USplineMeshComponent.
The error occurs when the Geometry Collection collides with the mesh generated by the USplineMeshComponent.
There are some attached images that show the state at the moment of the crash.
I've tried reproducing the crash locally but my editor never crashed.
The place they reported the ensure hits does have comments on the need to fix the key uniqueness or else the hash function might generate key collisions.
I've create a repro project along with the licensee that mimics their local setup (file Repro_17_2.zip), although I was still not able to repro the crash locally with this project.
Download and unzip it.
Change to use Unreal Engine Version to 5.4
Run the sln file and press F5.
Should open on ReproMap.
Play In Editor.
I was not able to repro locally so I don't have a call stack. The licensee did not provide one either.
They reported the ensure being hit here:
// @todo(chaos): fix key uniqueness guarantee. We need a truly unique key gen function
#if !UE_BUILD_TEST && !UE_BUILD_SHIPPING
const bool bIsKeyCollision = (Constraint != nullptr) && ((Constraint->GetImplicit0() != InImplicit0) || (Constraint->GetImplicit1() != InImplicit1) || (Constraint->GetCollisionParticles0() != InBVHParticles0) || (Constraint->GetCollisionParticles1() != InBVHParticles1));
if (bIsKeyCollision)
#endif
They also provided some images with the state of the memory when the crash occurs.
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How does TextureRenderTarget2D get TArray<uint8> type data?
What method is used to fill polygonal regions when drawing spline mesh at run time?
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
How can i modify the param name in EQS node
Lighting Turns Black in Play Mode
How to achieve HLSL Multiple Render Target in Material blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-240334 in the post.
0 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 5.4.4 |
Target Fix | 5.5 |
Fix Commit | 34903122 |
---|
Created | Jan 27, 2025 |
---|---|
Resolved | Jan 28, 2025 |
Updated | Jan 28, 2025 |