So I have a material that generates a fairly simple planet with adjustable parameters, but the issue I’m having is that it won’t apply to the actor when it spawns at runtime. My construction script creates a material instance dynamic which attaches to the planet generation material as follows:
And then set the material when I run my planet creation function which goes as follows, starting from the level blueprint on BeginPlay:
So the material is set in the Init Planet function, but when I open up the game the planets have just a blank canvas where it says MaterialInstanceDynamic:
I’m not sure what the problem is, anyone have an idea?