Search Unity

Profiler - GameObjects in Scene increase

Discussion in 'Editor & General Support' started by Hermonirr, Feb 28, 2018.

  1. Hermonirr

    Hermonirr

    Joined:
    Dec 23, 2013
    Posts:
    56
    Unity 5.6.4f1

    I'm trying to solve a memory heap size increase in webgl builds.
    I'm using an object pooling mechanism to deactivate and reactivate objects in a scene.
    In Unity, after ten iterations of this, I see the following counts increase in the profiler:
    GameObjects in Scene
    Total Objects in Scene
    Total Object Count

    Profiler.png What do these actually mean? Should this affect the webgl heap size?

    Thanks.
     
  2. RG_Keith

    RG_Keith

    Joined:
    Mar 14, 2017
    Posts:
    35
    Did you get any further investigating this? I'm seeing the same behaviour and just starting to look into it now.