Hello everyone,
I have a simple C++ class where i try to create an actor with a plane attached to it and change the material color.
Problem is, i can’t seem to be able to create the required DynamicMaterial because apparently,
“UMaterialInstanceDynamic::Create” is inaccessible.
Here’s are my UI_Plane.h and UI_Plane.cpp.
I tried making DynamicMaterial public but it didn’t change a thing since probably the permission problem
is either on the constructor or in the ::Create function.
Any idea on what might be causing this?
Thanks in advance.
UPDATE: I’ve just tried making a clean rebuild of the entire solution as suggested here.
It removed other intellisense warnings i had but the ::Create problem is still there.
So,still no luck