Search Unity

Occlusion Culling Data Makes Game SOOOOO Heavy

Discussion in 'Editor & General Support' started by Er_ellison, Oct 21, 2017.

  1. Er_ellison

    Er_ellison

    Joined:
    Jul 8, 2017
    Posts:
    10
    Hi there
    i just changed the Occlusion Culling setting a little bit (

    Smallest Occluder = 1
    Smallest Hole = 0.2
    Backface Threshold = 100

    )
    and my game built size gone to far from ~57 mb to 137mb
    i check the editor log and noticed that the extra mbs belongs to :
    226.7 mb 72.7% Assets/Scenes/MainLevel/OcclusionCullingData.asset
    what can i Do ????
    appreciate any help !
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,792
    Raise the Smallest Occluder and Smallest Hole values.
     
  3. Er_ellison

    Er_ellison

    Joined:
    Jul 8, 2017
    Posts:
    10
    to how much ???
    i have 3 terrains in size of 2000 * 2000
    what could be the best setting for it ???
     
    Last edited: Oct 21, 2017
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,792
    I don't know, it depends on your scene. The defaults are 5 and 0.25. Try those. You can see how much mb they take after the baking is done at the bottom of the occlusion panel. If it's still too large, raise those values more.
     
    Er_ellison likes this.
  5. Er_ellison

    Er_ellison

    Joined:
    Jul 8, 2017
    Posts:
    10
    thanx man , appreciated !