Search Unity

Mesh.CreateVBO incredibly slow

Discussion in 'Windows' started by Jonny-Roy, Oct 1, 2013.

  1. Jonny-Roy

    Jonny-Roy

    Joined:
    May 29, 2013
    Posts:
    666
    Hi,

    I'm seeing Mesh.CreateVBO peeking at 183ms for only 37 call creating only planes. Seems incredibly slow, does anyone know of a workaround or are dynamic meshes a really bad idea on WP8?

    Thanks,

    Jon
     
  2. Jonny-Roy

    Jonny-Roy

    Joined:
    May 29, 2013
    Posts:
    666
    Okay so I thought this was to do with creating the planes...it is not. It's actually peeking due to the dynamic batching. Whats odd is if I create the planes off screen and then move them into view I gat a 100+ms peek each time one comes into view. Once it's been in view once, I never see a peek again from moving the same one in and out of view, until I move a new one in. Very odd! I'll try and create an empty project to highlight the issue,