• 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 Hedayk · Nov 15, 2012 at 08:50 PM · unity 4draw calls

Draw Calls increased after I upgraded to 4.0

I've been working on a game for a few months now and was editing it in 3.5. My draw calls in the game then were around 28-40. Yesterday I upgraded to 4.0 and noticed that the draw calls shot way up. I did not change anything in my project, but it had to be upgraded to work in 4.0 (obviously). Now they're between 60-110.

Does anyone have any idea why this happened and if so, what settings can be changed to fix this? Or does Unity 4 just work differently now? Thanks!

Comment
Add comment · Show 2
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 Hedayk · Nov 16, 2012 at 09:45 PM 0
Share

Anyone have even a theory? Settings reverted? Lighting changes to 4 vs. 3.5?

avatar image Hedayk · Nov 19, 2012 at 07:09 PM 0
Share

One more try, here's an update. It looks like dynamic batching broke for me in the process of upgrading from 3.5 to 4.0. It used to batch 50-70 objects but now it doesn't batch more than 2. What could possibly be the reason? I've been trying to fix the batching but with no luck :(

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by lil_billy · Nov 19, 2012 at 08:07 PM

man dont tell me batching has gotten worse it was already crap in v3

anyways if you looked at the update sell page

it said they made lots of "improvements" to the rendering system allowing for AAA quality

now i havent upgraded yet mostly because i have pro for 3 and dont yet want to shell out for pro 4

so i will let you be the judge

ignoring the fact that batching probably requires more special circumstances to work is your performance better or worse than it was

as in has frame rate and processing dropped

maybe they somehow made those drawcalls more efficient at the cost of batching

Comment
Add comment · Show 1 · 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 Hedayk · Nov 19, 2012 at 08:13 PM 0
Share

Thanks for the reply, as of 5 $$anonymous$$utes ago I FINALLY figured out the issue. An extremely simple "model" i reuse as a tile with 2 tris and 4 verts was the culprit. I went through all of the settings for it and reapplied them and it fixed the issue.

I guess when I upgraded it messed that up somehow and broke the batching.

In terms of performance improvement with this existing project, the framerate has definitely not changed between 3.5 and 4. $$anonymous$$ind of wish there was some magic in 4 going on in the background that improved it for this build but I guess not haha.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

10 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

Related Questions

Unity 3 support after version 4 release 2 Answers

Unity 3.5 Animation : stop one layer 1 Answer

Simple way to reduce draw calls 2 Answers

2 single sprites in array increase draw calls infinitely!? 1 Answer

Procedural Shader Cost/Draw Calls 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