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 AchillesWF · May 25, 2012 at 12:28 AM · androidiosperformance

Getting 50 fps on my laptop with simple scene. Is there a good explanation?

I'm working on an app that I intend to release on IOS / Android. For now, I am developing on my laptop, which is a few years old (Sony Vaio Intel Core2 Duo CPU T6500 @ 2.10 GHz, 4.0 GB Ram, 64bit Win Vista).

I have a pretty basic scene going, a single physically simulated ball rolling on a plane. There is a complex UI system in the scene as well, but that is currently inactive.

Anyway, I'm seeing frame rates of 50 or so on average (sometimes as low as 30), and frequent stuttering of gameplay. It makes me wonder if Unity is performant enough on IOS / Android if even this simple scene runs as slowly as it does on a PC (I would expect it could run at 100s of frame per second). I realize this could be due to my laptop (and there is no GPU in it), but I understand that iPad for instance runs a single core at 1 Ghz with only a modestly powerful GPU present by comparison.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Eric5h5 · May 25, 2012 at 01:01 AM

There are plenty of Unity iOS games which perform well (30-60fps), even on old devices like my 2nd generation iPod touch, so yes Unity is plenty fast. The iPad actually has 2 cores, not that it really makes much difference in this case. It could be you did something wrong in your scene...I know you said it's simple, but maybe you accidentally did something that's causing performance issues. If not that, then I'd guess there's something wrong with your computer or maybe the drivers. On my Mac, simple scenes get literally thousands of fps.

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 AchillesWF · May 25, 2012 at 01:16 AM 0
Share

What kind of development HW do you use? I'd like to get thousands of fps for my scenes during development. :)

avatar image Fattie · May 25, 2012 at 06:27 AM 0
Share

Any ordinary $$anonymous$$ac will get thousands of FPS apple.com

avatar image Eric5h5 · May 25, 2012 at 07:11 AM 0
Share

I would think any ordinary computer at all would, as long as it's not total bargain-basement junk. Even my old G5/X800 got 500+ fps for simple scenes with no pixel lighting and not too much physics.

avatar image AchillesWF · May 25, 2012 at 03:56 PM 0
Share

I just ran a test scene with 16 rigid body cubes, a single rigid body sphere on a test mesh collider with under 100 polys. This scene is running at 2 fps on my Sony Vaio laptop with the stats posted above.

avatar image AchillesWF · May 25, 2012 at 04:27 PM 0
Share

So...I was outputting some Debug.Log() messages for each cube. When those are off, I'm running faster. Now, I am able to get 64 cubes, my sphere, and the simple test mesh collider running at 50 fps. Still, I would think that scene would be very fast. I'm eventually hoping to run on IOS/Android so this worries me a little. I'll have to R&D physics performance on those platforms a bit before settling in on my design.

Show more comments
avatar image
0

Answer by Owen-Reynolds · May 25, 2012 at 07:41 PM

I'd blame your lack of a graphics card. GPUs, even "modest" ones, are very fast at the few things they specialize in -- that's why no one makes a chip that can be a CPU or GPU. Having your regular processor cover for the graphics card is a lot of extra work for it.

I had an old, odd machine running Linux. Got terrible frame rates on games and constantly overheated. I finally realized that my graphics card driver was bad and I wasn't even using the so-so GPU. One driver install later, things were running too fast, and cool.

Comment
Add comment · Show 2 · 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 shadowriffe · May 25, 2012 at 07:52 PM 0
Share

The laptop has an embedded graphics media accelerator, I'm sure. In fact, I think I know the exact laptop being referenced, and it can play Portal 2, so it is much more likely issues of bad code, like the superfluous Debug.Log calls mentioned below.

avatar image Bunny83 · May 25, 2012 at 08:49 PM 0
Share

There has to be a GPU since the Unity3D editor can only be run on a hardware that supports at least 4 texture units ;) I tried installing it on a very old computer. A build runs find, but the editor complains and doesn't run at all.

It might be your monitor framerate? A webbuild is also limited to 60 fps by default.

avatar image
0

Answer by dansav · May 25, 2012 at 07:58 PM

You might be in a unity iphone emulation mode where it tries to emulate performance on target platform. Under edit-->graphics emulation make sure it is checked correctly.

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 Eric5h5 · May 25, 2012 at 08:39 PM 0
Share

Actually it makes no attempt to emulate performance, only the graphics. So you can see if your shaders work.

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

7 People are following this question.

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

Related Questions

Does assetbundle work well with mobile devices? 1 Answer

Empty game objects - too much? 3 Answers

Mobile game - should I reduce my vertex count? 1 Answer

Android performance VS IOS 1 Answer

FPS of up-to-date action game on mobile devices? 60 vs 30 FPS? 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