• 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
1
Question by sinisterrook · Apr 09, 2015 at 04:37 AM · androidgoogle

Heavy Lag in Google Cardboard/Unity Project

Hey guy's, I've been grinding away (I.e. googling and then attempting to use the suggested solution to solve my problem) trying to figure out why I'm getting horrible lag within the game environment. I've used the profiler which says I'm staying right around 30fps I don't have a ton of objects and the only thing that is moving is the a sphere on which i "painted" a starscape that rotates. Any suggestions would be great. P.s. I'm using Nexus 6 as dev devices with unity 5.0.

alt text

alt text

playersettings1.png (19.2 kB)
playersettings.png (54.2 kB)
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 dolims · Apr 12, 2015 at 11:24 PM 0
Share

Quick question: Turn off all motion and animation (like the rotating starscape) -- i.e. make the scene compeletely frozen, other than the player looking around. Do you still get lag in this case?

avatar image Forux · Oct 20, 2015 at 11:35 PM 0
Share

I also have lugs on unity 5 and google cardboard

i test it on lg g3

scene is simple with no animations at all.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by howardt12345 · Mar 02, 2016 at 06:40 AM

The lag from your app is going to be coming from the number of Setback Calls that you have in your Cardboard Game. I would recommend that you would attempt to lower the number of Setback Calls to less than 50. You can do this by Static Batching, not using many light sources ( the directional light should be enough ), and by decreasing the number of triangles and polygons in the scene.

I have also noticed that you have the default orientation as " Auto Rotation ". I would strongly advise against that as when you look around with the Google Cardboard, the phone screen will be rotating constantly. Google advises that you set the default orientation to Landscape Left to prevent unwanted rotation.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

GoogleVR (Cardboard) how to move using head-tilt 0 Answers

Google VR SDK only works with Android 7 ???! 1 Answer

Admob banner ads not showing 0 Answers

Android Google Play OBB Downloader 1 Answer

Implementing google cardboard and kudan SDK 2 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