Hi,
Using Unity 5.3.5f1 and by looking at my profiler. Clearly the draw calls are not batching for these line renderers. Am I missing something?
See attachments.
Thanks
Hi,
Using Unity 5.3.5f1 and by looking at my profiler. Clearly the draw calls are not batching for these line renderers. Am I missing something?
See attachments.
Thanks
Line renderer just sucks and doesn’t batch.
The line renderer does batch. Try using the frame grabber and see if its drawing with a single call or multiple.
Are you using the same material on the lines?
Those screenshots show batching working. The total batches count is 2 in all.
Oh, used to be it didn’t batch. I still maintain it sucks though (due to the simplistic corner handling).
The batching reporting is a bit broken here. As Karl says, batching is working and “Total Batches: 2” is telling you that.
However, the line beginning “(Dynamic Batching)” is failing to report the details. We have fixed this in 5.4.
Yes they all use the same material.
Cool, thanks a bunch.