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 foxneZz · Sep 05, 2015 at 04:25 PM · androidgpucpucpu usagegraphics card

Android app doesn't use GPU. Why?

I'm new to Unity. I've created a very simple game using Unity. It runs flawlessly on my PC but has really bad framerate on my Android device (Huawei Mediapad 10 Link). After figuring out how to debug my game I've found out that my game literally doesn't use GPU. It uses only CPU. So it makes sense for my game to run with stable 60 fps on my PC because my PC's CPU is a lot better than my device's. I've tried tweaking PlayerSettings, Physics2D settings, Quality settings, device developer settings but it still runs with unstable 3 to 55 fps on my Android device. Any help?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by MakeCodeNow · Sep 06, 2015 at 02:57 AM

I think that 0.0 ms on the GPU is a red herring. Unity profiler only supports certain GPUs and probably just doesn't support the one in your tablet.

Right next to that 0.0 ms is a CPU reading that says 391 ms (or about 3 fps). It seems pretty clear that your game is CPU bound and you're just doing way more 2D physics than your android CPU can support.

Comment
Add comment · Show 5 · 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 foxneZz · Sep 06, 2015 at 07:55 AM 0
Share

The game doesn't use GPU on my PC either. I don't think the problem has anything to do with not supporting GPUs. It just doesn't use them for some reason.

avatar image MakeCodeNow · Sep 07, 2015 at 03:24 AM 1
Share

It absolutely does use your GPU on both the PC and on Android. Unity will not run without a GPU on any platform. You're just misunderstanding the information the profiler is giving you.

avatar image foxneZz · Sep 07, 2015 at 11:45 AM 0
Share

How come it lags so much then? GPU should handle that amount of physics. $$anonymous$$y scene consists of mere 128 balls in a box (box is a parent of points) that can be rotated by the player. I tried to make a game very similar to this Unity game.

avatar image MakeCodeNow · Sep 08, 2015 at 03:17 AM 1
Share

Unity Physics runs on the CPU, not on the GPU.

As to why it lags so much, re-read my answer.

avatar image Eric5h5 · Sep 08, 2015 at 04:05 AM 0
Share

If your GPU doesn't support profiling, and you add a GPU profiler, the profiler very clearly states that it's not supported.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

how to i off load rendering to my gpu? 0 Answers

Hardware usage for VideoPlayer 0 Answers

Standard Assets(Mobile) too expensive(CPU)? 0 Answers

GPU GC1000 supported ? 0 Answers

How to know if my game is CPU or GPU bounded without GPU Profiler module. 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