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
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.

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

Google thinks, my app is signed in debug mode. 1 Answer

Google Project Tango: ADB won't recognize my device? 1 Answer

Black Spots using Android 0 Answers

Why does my editor throw an error using firebase plugin? 1 Answer

Can i give a APK file to a "stranger"? 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