Procedural Mesh Component Line Trace Not Working

Hello, I’m trying to do line trace testing on procedural mesh components, and the engine is crashing. This occurs even with the “LatheActor” example, so it isn’t an issue with my procedural code. In “CollisionConversions.cpp” in the SetHitResultFromShapeAndFaceIndex function, in the code below, the PxMat->userData is accessed without being checked if it is null first, which it is for a procedural mesh, and the program crashes. Will there be a workaround for this soon?

 // This function returns the single material in all cases other than trimesh or heightfield
 PxMaterial* PxMat = PShape->getMaterialFromInternalFaceIndex(FaceIndex);
 if(PxMat != NULL)
 {
     OutResult.PhysMaterial = FPhysxUserData::Get<UPhysicalMaterial>(PxMat->userData);
 }

Hi Embeddetech -

I have been testing this with our internal Procedural Mesh Generation Code which is currently available for 4.8 Preview 1 and have not found a problem or crash. If you can please post your logs and Machine ID which appears in the Crash Reporter when you crash. Otherwise, I would test the issue in 4.8 with out integrated Procedural Mesh Plug-In.

Thank You

Eric Ketchum