Question by
ouva · Apr 11, 2017 at 05:07 PM ·
shadermaterialtreememory-leak
Memory leak updating Speedtree material properties
On any tree generated by Speedtree Modeler for Unity, if I update the material shader properties (color, cutoff - whether through script or in editor), that object builds up a memory footprint, eventually crashing the game.
I tried updating through editor or using script with the renderer.material and renderer.sharedMaterial.
[1]: /storage/temp/91822-capture.jpg
[2]: /storage/temp/91823-123.jpg
123.jpg
(141.3 kB)
capture.jpg
(100.9 kB)
Comment