Search Unity

Any way to profile GPU memory usage?

Discussion in 'General Graphics' started by JoeStrout, Feb 8, 2019.

  1. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I've got a game that appears to be crashing (on Android) because it runs out of GPU memory.

    So I guess I need to reduce some of the heavier textures, but it's a huge game, and I hate to just start in blind. Is there any way to see the actual sizes of various textures on the GPU, so I can know where to focus my efforts?

    (Note that the GPU profiler doesn't work on Android, but maybe it would suffice to get those measurements while running in the editor, since presumably the same stuff is being drawn in both cases.)
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,025
    Hi!
    You don't need a GPU profiler in this case. Memory profiler (which should work on Android) should give you all the info you need.