Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by siddharth3322 · Mar 29, 2019 at 04:54 PM · 3drenderingfpsrendererperformance optimization

Update Renderer Bounding Volumes - Lower Game Performance

I was getting the lower performance of my game on desktop and mobile both. So I have used a profiler to know the reason behind this but I can't able to understand actually what is the problem!!!

alt text

If you check above image then you can see that updating renderer bounding volumes taking so much time so what is causing the problem?

Canvas Build Batches also showing many big spikes: alt text

update-renderer-bounding-volumes.png (191.6 kB)
canvas-build-batch.png (234.3 kB)
Comment
Add comment · Show 7
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 xxmariofer · Mar 29, 2019 at 05:28 PM 0
Share

how big is your canvas? there ios only one big canvas right?

avatar image siddharth3322 xxmariofer · Mar 29, 2019 at 05:38 PM 0
Share

Actually, the canvas is causing the problem? I have one main canvas that showing all UI panels and each car contain small canvas to display each player name. There are around 10 cars moving in the game.

avatar image xxmariofer siddharth3322 · Mar 29, 2019 at 06:09 PM 0
Share

maybe if the canvas is big is causing the problem, take into account that every time you change one little thing in the canvas the whole canvas gets re-drawn, even if they are static UI elemts or are transparent, check if the spikes happen when something even if its really little changes in the canvas

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Arcobl · Jul 26, 2019 at 09:22 AM

Try drawing objects out of their parents.

Comment
Add comment · Show 6 · Share
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 siddharth3322 · Jul 26, 2019 at 09:30 AM 0
Share

I have a single FBX file for a complete environment. do you think this creating a problem? Also, cars contain multiple child objects in it.

avatar image xxmariofer siddharth3322 · Jul 26, 2019 at 09:40 AM 0
Share

i cant see my previous coments, but do you have only one just big canvas? if yes thats for sure the problem, whenever a tiny change in canvas happens ALL the canvas gets redrwan, also inactive objects and transparent ones, so if your canvas is big will take a lot to redraw, but having multiple canvases increase the draw calls so you need to find a good balance.

avatar image siddharth3322 xxmariofer · Jul 26, 2019 at 11:59 AM 0
Share

At above debug time, there is game play scene was running so Game HUD canvas panel was active with 2 elements in it. Though same canvas contains $$anonymous$$ain$$anonymous$$enu, GameOver and many other panels with disable state. But currently Game HUD panel was only active object.

Show more comments

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

171 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How would I fix this DrawMeshInstancedIndirect and Translucent object problem? 0 Answers

Used Textures stat.. what exactly does that mean ? 0 Answers

Trouble with Occlusion Culling 0 Answers

camera rendering fps 0 Answers

3D Software Renderer Question 1 Answer


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