Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Custom geometry memory duplication

Discussion in 'Wish List' started by naxel, Apr 5, 2013.

  1. naxel

    naxel

    Joined:
    Sep 12, 2012
    Posts:
    14
    I used to generate secondary uv-set on some of my meshes to precompute values derived from initial geometry. I make this using AssetPostProcessor.OnPostprocessModel(...).
    After this manipulation my mesh use 2x memory in run-time, because it's treated as dynamic geometry (gpu and main memory copy). To avoid problems like this Unity can support method which removes main memory copy by user request at least for editor.