Bug: Parameter not getting set on a Collection
I'm seeing an odd bug with attempting to set a parameter on a collection.
I've created a new Material Parameter Collection called SelectionHighlightCollection. It holds 1 scalar parameter, LineWidth.
I'm trying to modulate that from my custom HUD object' blueprint. Inside my HUD's tick function, I call a custom BP event on my HUD, SetSelectionLineWidth, that then calls SetScalarParameterValue.
The editor still passes in 'None' as the ParameterName FName param when it calls UMaterialParameterCollectionInstance::SetScalarParameterValue(), fails to set the parameter at all, and gives me warnings that it was called with invalid ParameterName 'None' even though it's clearly showing it set to LineWidth in the BP.
However, this bug disappears if I drag off of the name and create a literal FName called LineWidth.
See the attached:
It seems this was a known issue that was addressed with the 4.5.1 hotfix that went out recently and should be fixed with the current latest update to the engine.
answered Nov 12 '14 at 05:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here