This is a regression.
//UE4/Release-4.27 CL18319896 Binary
//UE5/Release-5.0 CL18747223 GitHub
When using the Random Value Per Element from a PivotPainter_PerObjectData with a Cross node the editor crashes with an assertion. Using a Vector 3 etc. for the B input will also result in the same crash.
No crash, no errors.
Editor crashes with "Assertion Failed: LhsNonLWCType == EDerivativeType::Float3 [Filed: ...\Engine\Source\Runtime\Engine\Private\Materials\HLSMaterialDerivativeAutogen.cpp][Line:448]"
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-140667 in the post.