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 Spaniel · Oct 30, 2012 at 11:53 AM · renderoptimize

Severe slowdown even with low poly level

Hi.

I have created an extremely low poly level. At best, I get around 120fps. This is when I am staring at the wall. I brought up the Game Stats and it says that even looking at the wall, I am doing 241 draw calls which is insane!

I created the models in SketchUp, and imported them via the FBX format. Here are some pictures to illustrate:

This shows the diagnostic window: http://i.imgur.com/TaEdm.png

This is to give you an idea of the simplicity of the level: http://i.imgur.com/fPOF8.png

As you can see, there is no way there should be that many draw calls or even vertices rendered or VBOs created.

Has anyone had a similar issue?

Thanks!

Comment
Add comment · Show 5
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 Spaniel · Oct 30, 2012 at 07:31 PM 0
Share

OSX. Hence the OSX screenshots.

avatar image Fattie · Oct 31, 2012 at 07:03 AM 0
Share

sketch up SUC$$anonymous$$S dude - I hate it. (But then, I hate google! :) )

This is a really weird problem.

Turns on the "Stats" button at the top right of the Game Play window, and can you send us a screen shot of that?

Incidentally -- with reasonably small images, you can actually just paste them in your answer - use the silly "Photo" icon.

avatar image Spaniel · Oct 31, 2012 at 07:07 AM 0
Share

@Fattie The first screenshot has the stats window.

avatar image Fattie · Oct 31, 2012 at 07:22 AM 0
Share

Wow that's weird ... zero textures.

For the record - if you just start a new project and drop 3 or 4 cubes and spheres in it, do you get a normal frame rate? (1000s Hz)

Total mystery...

avatar image Spaniel · Oct 31, 2012 at 07:28 AM 0
Share

@Fattie Yes, normal frame rate. Very weird indeed that it says zero textures.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by rejwan1 · Oct 30, 2012 at 01:50 PM

High draw calls aren't affected by the poly count of your models, they are dictated by the amount of meshes and shaders (materials), and are multiplied if you have any light sources that cast shadows.

So I'd check to see that you are using as little meshes/shaders/light sources (With shadowing) as possible.

Comment
Add comment · Show 3 · 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 Spaniel · Oct 30, 2012 at 07:31 PM 0
Share

3 lights are used in the entire scene. There is no way it should be this slow.

avatar image rejwan1 · Oct 30, 2012 at 08:52 PM 0
Share

And how many materials and meshes do your room contain?

avatar image rejwan1 · Oct 30, 2012 at 08:53 PM 0
Share

BTW, definitely read this: http://docs.unity3d.com/Documentation/$$anonymous$$anual/OptimizingGraphicsPerformance.html

avatar image
0

Answer by Itinerant · Oct 30, 2012 at 10:23 PM

Is the entire scene one mesh? That could be part of the issue - Unity is great about batching draw calls for similar objects, but not when it's a single mesh with a multi-material on it. I had a pretty big jump in performance on a set of buildings by separating by material. Ie, in your scene, one mesh would have all of the glass, one would have all of the yellow bands, one would have the gray wall, etc. Divvy it all up like that and I'm willing to bet you'll have a significant drop in draw calls.

Comment
Add comment · Show 8 · 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 Fattie · Oct 31, 2012 at 07:04 AM 0
Share

it's possible that's the problem.

could you possibly re-import it somehow in to Cheetah3D and see what a proper modelling software makes of it ?

avatar image Itinerant · Oct 31, 2012 at 04:04 PM 0
Share

Eeh, I hadn't noticed the Sketchup part of it. I'm now 95% certain this is the cause of your problem. When you have multi-mat objects like this, Unity does a draw call for every piece that has a different texture. So every one of those glass panels is a draw call, every panel of yellow, etc. Add in the multiple lights and 241 draw calls sounds perfectly reasonable.

avatar image Fattie · Oct 31, 2012 at 04:20 PM 0
Share

right, Skecth(or, )Up is such crap. it's just not a tool for the job.

avatar image Itinerant · Oct 31, 2012 at 04:36 PM 0
Share

Definitely not for this. That said, it's great for other things. $$anonymous$$y training is in architecture, and there are definitely reasons to have sketchup experience on your resume :D

avatar image Fattie · Oct 31, 2012 at 04:39 PM 0
Share

I appreciate it may be great in that field. Anyway as an architect you may be Autodesk familiar. If so you're set, just get $$anonymous$$aya, 3D$$anonymous$$ax etc.

Cheetah3D is a good one on $$anonymous$$ac, very cheap too.

then again it takes a bit of time to learn model making. it's a real speciality.

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

11 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

Related Questions

c# - Change 3D texture on button press 1 Answer

Android built game unity Profiler.render drawing clear and GPUProfiler.endQueries cause spikes. 1 Answer

GPU (render time) increase if screen size increase 1 Answer

URP: Bloom, Lift, Gamma, Gain without Post Processing 1 Answer

How to change Terrain Shaders at URP 10.4.0 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