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 elegize · Jun 30, 2015 at 07:24 AM · androidvroculussamsung

Unity on Gear VR with Galaxy S6

For some reason I can't get Unity to work on the Gear VR.

I have two problems:

For starters, I don't get the stereo view when I press play in Unity. It used to give me an error message that the VR runtime wasn't installed or that there wasn't a VR device available. After the 5.1.1p2 patch, I don't get an error at all, but it still doesn't give me the VR view.

The second is exporting. I have no problems when I export an empty Android build with just a cube in it. I see the app on the phone and it opens normally. When I export an Anroid build with the Mobile VR package on the other hand, the S6 gives me an error message. First it tells me to put the phone in the Gear VR, but after a short black screen I get an AKP security error. I looked at some other posts about this, but no matter what signing I use (unsigned/debug or sign file), I keep getting the same error.

Here some additional info:
- Unity 5.1.1p2 (with Oculus Mobile SDK 6.0 package)
- Android Studio (SDK)
- Oculus Runtime 6.0 (eventhough I don't know what this does)
- Gear VR with Samsung Galaxy S6

Thanks,
Ele

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Mason84 · Jul 10, 2015 at 09:57 AM

Regarding this security error, as far I know ( but personally not tested i´m still waiting for my Gear VR ) Every Gear VR application need a Unique Signature Code for each Mobile Device (Provided by an Oculus android app what you need to install ). Without this signature code you cant run the apk. The reason behind this is the Samsung Policy. They don't want to let you push your Gear VR app for the public ( at this time ). So because of this you need a unique signature / generated apk for each device (S6+GearVR). This means you cant share whit your friend an apk what you generated for your device. He will became the same error as you. In this video tutorial this guy explain it well somewhere in the middle of the video: Youtube Video Tutorial

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 elegize · Jul 10, 2015 at 11:59 AM 0
Share

Thanks for your comment $$anonymous$$ason84. I actually used the same tutorial you mentioned to set up the Gear VR project. $$anonymous$$aybe this signiture file is the problem, but I created it just like how it was explained in the video. I don't know if there is a way to find out if the signiture file is correct, but there's not much there can go wrong with copy/pasting the device ID and putting a file in a folder.

EDIT: I gave it another go by downloading a different app to get the device id and it did indeed give me a different ID (the other app only gave me the device GSF ID). Though, sad to say, this still didn't work.

avatar image
0

Answer by elegize · Jul 14, 2015 at 01:29 PM

Okay, I found the answer to my second problem. The app I used to get my Android device ID, returned the wrong ID number. I found out the right ID number during the build of the OVR export. At the end when it's done compiling it shows the device ID: "Pushing new content to device DEVICE-ID-HERE [MODEL-NUMBER]". This was the correct ID which I then used on the oculus tools page to get the signage file. For those who don't know yet. Put this file in the folder: Assets/Plugins/Android/assets/

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

22 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

GearVR Recenters view when you take off and put on the headset 1 Answer

How to get smooth device camera in gearvr like passthrough option? 0 Answers

Is Build and Run essential to make a Gear VR app ? 1 Answer

Getting Gear VR to work 1 Answer

Reload game scene when take away Gear VR 4 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