Question by
schiho · Nov 22, 2016 at 10:21 PM ·
gameobjectinstantiatelinerendererstaticbatching
Instancing doesn't work with LineRenderer
I would like to instance a GameObject with a LineRenderer, however, it doesn't work, as it's doing a deep copy rather than referencing. I even created a prefab with a LineRenderer Component, marked is as static, but when i drop it into the scene it is still not referenced.
Any workarounds?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612101215im_/https://answers.unity.com/themes/thub/images/avi.jpg)