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
0
Question by screenname_taken · Apr 18, 2013 at 04:29 PM · performancetabletpolygons

Too many triangles after a prefab spawn.

Hi, I have this scene and Unity tells me its 23K triangles big. Then i have this spawn point to spawn some balls (each ball is 168 tris). Thing is, the moment it spawns a ball the scene triangles go up by almost 20K tris per ball spawn! Before i exported the ball, i made sure that i deleted the history like every other model i did.

You can get around 3-4 balls on screen at a time so the scene triangle count goes up to 80K and that just kills a Tegra2 tablet. (But a snapdragon phone with about the same res is fine :P)

Anyone has any ideas?

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by screenname_taken · Apr 18, 2013 at 06:11 PM

I think i found it. The ball prefab has a projector attached for a fake shadow. I wasn't aware that the projector covers the whole scene with a texture, wasn't fully aware of how it works. I disabled it just a few minutes ago and the scene only gets bigger by 168 tris with each ball spawn. I did think that it was spawning like crazy or something with the polys, but i was looking at the editor while running the preview and everything looked fine until it spawned a ball.

Thanks for your time, now i have to figure out a solution for fake shadows.

Comment
Add comment · 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
0

Answer by sparkzbarca · Apr 18, 2013 at 05:10 PM

you should load up a copy of the scene or something. The issue is it's obvious that the object for some reason isn't 168 tri's but why isn't obvious. Check the mesh in unity maybe?

I'd have to actually be able to see it in editor to figure out if spawning is actually spawning hundreds of them or if the model is screwed up or what

Comment
Add comment · 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

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

12 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

Related Questions

Android Tablet vs iOS iPad performance difference 0 Answers

Wich is faster? Mesh collider or lots of primitive colliders? 1 Answer

2d game performance is bad in mobile, but giving 80 to 130 fps in pc, its physics game, help plz 2 Answers

App plays well on Android phones but really slow on an Android tablet. 2 Answers

What is most efficient way to render output of multiple cameras 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