SourceInstance->OnScalarParameterUpdated().AddLambda([this](UMaterialParameterCollectionInstance::ScalarParameterUpdate DirtyParameter)
{
FRWScopeLock WriteLock(DirtyParameterLock, SLT_Write);
DirtyScalarParameters.Emplace(DirtyParameter);
});
Engine: 4.27.1
This one crashed while building complete to 100% and ready to pop up the tip title. I am using the Niagara Effects in scene with Niagara script and Niagara Parameter Collection. This NPC contains the MPC and is changing value in editor / game alltime. So it Crashed in the lambada, finally exception occured in the AcquireSRWLockExclusive. ANY HELP???