GAMEDEV.NET
Problems on using Function 'Material::CreateDynamicMaterialInstance()'
Author
"I'm attempting to dynamically create a material instance during an AnimNotify. My current approach involves a component attached to the pawn, where the notify triggers a function within this component to create the instance. However, I'm encountering an error stating the component ‘is not in the world.’After reviewing the Split Fiction project's animation system code, I noticed they use a method that explicitly passes a world context to the function. Is there any possible way to get that function or is there another way to solve the problem?