- Home /
Why does Mesh.CreateVBO spike every few seconds on iOS Metal
Platform: iOS
API: Metal
Unity: 2017.2
I have a few dynamic meshes, all tagged with MarkDynamic, but the profiler is showing me Mesh.CreateVBO calls for them on every frame. On many frames Mesh.CreateVBO will take a fraction of a millisecond, but every few seconds it will jump to 40ish milliseconds for a few frames.
On the frames where Mesh.CreateVBO isn't bogging down performance (according to the profiler), Clear is bogging down performance. Whereas Clear does not when Mesh.CreateVBO is spiking.
Are there known issues with the profiler on iOS Metal? I've had issues in the past where OpenGL ES 3 showed only solid bars in the profiler on iOS. I should also note that I have multi-threaded rendering disabled because it was hiding too much information from the profiler.
Your answer
Follow this Question
Related Questions
Dynamic Pathfinding 1 Answer
Can I move just some of the verts on a mesh? 1 Answer
Transparent overlay on Mesh 0 Answers
Dynamic Mesh Collider - Optimization 1 Answer
How does Mesh.CreateVBO work? 1 Answer