I’ve found the issue. I was creating the dynamic material and trying to set the component’s material in the constructor. After moving it to BeginPlay I can set it to the component and it works
I’ve found the issue. I was creating the dynamic material and trying to set the component’s material in the constructor. After moving it to BeginPlay I can set it to the component and it works