Search Unity

Bug (IN-33155) Entities Graphics GPU Usage is too high

Discussion in 'Graphics Dev Blitz Day 2023 - Q&A' started by optimise, May 25, 2023.

  1. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    Currently the GPU usage is still insanely high and culling (frustum culling?) seems like doesn't work at deformation mesh that GPU usage never drop when out of camera visible range. Another issue is deformation still has gc spike very single frame at player runtime build which is really bad. Any plan to address all these issues at future release?
     
  2. Jebtor

    Jebtor

    Unity Technologies

    Joined:
    Apr 18, 2018
    Posts:
    115
    Hey! I will check in on the status of the incident mentioned in the title tomorrow.

    As for deformations in Entities; this is still experimental and not recommended for production use. We are aware of both issues. Currently, deformations does not take visibility into account. As a result all meshes are deformed regardless of whether it is visible or not. The garbage allocation comes from GraphicsBuffers used in deformation systems. We are actively working on making it production ready by assessing and improving workflows and performance concerns. We are also doing user testing and improving based on feedback.
     
    M_MG_S and optimise like this.
  3. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    I would like to also feedback that seems like a couple of deformation jobs still not burst yet and also not using ISystem yet. Will it addressed at next release?
     
  4. Jebtor

    Jebtor

    Unity Technologies

    Joined:
    Apr 18, 2018
    Posts:
    115
    I believe some of these questions were answered in this thread. GraphicsBuffer, ComputeShader and Mesh class are not burst-compatible at the moment.

    ConstructHashMapJob, CopyBlendShapeWeightsToGPUJob, ConstructHashMapJob and CopySkinMatricesToGPUJob have received the burst attribute in the next release.
     
    optimise likes this.
  5. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    I see. Is that still require quite long time to make them burst-compatible?
    Btw after I check the entire package, seems like a few of the system can make them ISystem. Will them upgrade to ISystem at next release too?
     
  6. Jebtor

    Jebtor

    Unity Technologies

    Joined:
    Apr 18, 2018
    Posts:
    115
    We are not working on these specific items right now.
     
    optimise likes this.
  7. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    2,129
    Hi. Will gc will be addressed at next release or it requires editor fix?