Search Unity

Bug (Case 1182505) OnDemandRendering causes 84 bytes per-frame GCAlloc

Discussion in '2019.3 Beta' started by Peter77, Sep 7, 2019.

  1. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,012
    OnDemandRendering causes 84 bytes per-frame GCAlloc.

    screenshot.png

    Reproduce
    • Create new Project
    • Build Windows Standalone Player
    • Connect Unity Profiler

    Actual
    Observe Profiler shows several OnDemandRendering.GetRenderFrameInterval entries, each causes memory allocations.

    Expected
    No per-frame memory allocations that end up as garbage.
     
    alexeyzakharov likes this.
  2. alexeyzakharov

    alexeyzakharov

    Unity Technologies

    Joined:
    Jul 2, 2014
    Posts:
    275
    Peter77 likes this.
  3. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,012
    Thanks for the reply. I'll keep an eye on it in the next beta releases.