- Home /
Question by
proteinbeer · Aug 27, 2012 at 02:33 PM ·
instantiatenewbatch
Newly instantiated object not being batched?
Hi,
I have this object that batches well when I ctrl + c and v but not when I Instantiate(). Does the material also get cloned? Any advice?
Comment
Best Answer
Answer by hvilela · Aug 27, 2012 at 03:45 PM
When you make a copy you're using static batching, an object created at run time cannot be static batched, only dynamically. Static and dynamic batch have different rules, f.e. if you don't use uniform scale, static batch works but dynamic don't.
That's what static and dynamic batching were all about..
Your answer
Follow this Question
Related Questions
"Instantiate"/make new function via script? 1 Answer
Instantiate A Prefab 1 Answer
Checking if object intersects? 1 Answer
How do I clone a ScriptableObject reference at runtime? 1 Answer
Piece of code creates unwanted GameObjects in scene 3 Answers