Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by ggappleid · Apr 27, 2012 at 08:36 AM · occlusionculling

Dramatically low fps using Occlusion Culling

Hi folks.

I am developing a project for Android platform. One of my scene has a big part of a town (with houses, roads and so on). I optimized it as possible as i could, and i got nearly 60 FPS without Occlusion Culling (on Samsung Galaxy SII). But my game should be playable on older devices. That's why i baked an Occlusion Culling to make it faster, but my FPS dramatically slowed down.

Profiler say to me on the same scene (i show you the slowest and heavy operatons):

  1. Before baking OC frame is rendered for 10ms (Culling take 1ms and RenderForwardAlpha.Render take 4ms).

  2. After baking OC frame is rendered for 300ms (Culling take 60ms and RenderForwardAlpha.Render take 233ms).

What is happen? How could i fix this?

Comment
Add comment · Show 9
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ggappleid · Apr 27, 2012 at 08:55 AM 0
Share

I forget to mention that Draw Calls, Triangles and Vertices count has not be changed : DC = 110, T = 35k, Vrt = 45k. $$anonymous$$emory params don't changed too

avatar image Bovine · Apr 27, 2012 at 11:56 AM 0
Share

Very hard to tell without seeing the data but I am guessing one of three possibilities:

  • There's a bug in the OC

  • When you baked the OC for some reason you'e pulling in more objects than were being culled from the frustum, but this seems unlikely (surely the frustum isn't NOT culling with OC enabled)

  • Something else change that is killing your performance.

Given that your draw calls etc.. remains the same I wonder if it's something else that's changed or a bug - have you profiled the game on the device remotely, I would suggest you start by doing that and maybe it'll give you a smoking gun to the problem.

avatar image ggappleid · Apr 27, 2012 at 01:19 PM 0
Share

Yes, i am profiled my game on device remotely, but it is not affect performance, because i can see lower FPS in editor too. Without OC i have 800 FPS, with OC i have 450 FPS

avatar image Bovine · Apr 27, 2012 at 01:41 PM 0
Share

By profiling I mean use the profiling tools to see WHERE the bottleneck is - it may be obvious that it's in the OC or it may be obvious it's somewhere else.

avatar image ggappleid · Apr 27, 2012 at 01:50 PM 0
Share

No, there is no difference (in my case) when profiler enabled or disabled. I always get FPS much lower with baked OC

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Occlusion Culling baking 0 Answers

Occulsion culling using too much cpu 0 Answers

Occlusion Culling breaks in fully enclosed room 1 Answer

How to know if Occlusion Culling running 1 Answer

Why is my occlusion Culling different at runtime? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges