Dynamic Material causing lag?
Hi, I am currently having an issue with my Dynamic material whereas after an given amount of time it causes the scene to lag terribly. In the construction script I have an dynamic material instance being made and then promoted to the variable CB_Dyn_Anim_Mat The error I keep getting is: " Error Accessed None 'CallFunc_Array_Get_Item' from node Set CB_Dyn_Anim_Mat in blueprint C**_BP"
As far as what I am doing with the BP, I currently have volume creating meshes, having them translate down a mesh, and then fall into a volume that would destroy them. Originally, I thought this maybe the problem, but the message log constantly keeps firing off that error above when the editor starts to lag.
asked Oct 10 '14 at 01:08 AM in Rendering
Hey DannyDeveloper -
It would help if you could show me the Construction Script and any references to the Dynamic Material in your Event Graph of the Blueprint. One really quick fix if possible, do you need a Dynamic Material Instance? Are you changing a value in the Material during the runtime? If you are not, you could just spawn the mesh with a pre-assign standard material and eliminate the problem that way.
Let me Know -
answered Oct 10 '14 at 03:08 PM
Lovecraft_K ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here