• 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 /
  • Help Room /
avatar image
0
Question by Throne · Nov 21, 2015 at 10:16 PM · oculus

Oculus Utilities require Unity 4.6

I am having a problem with Oculus scripting using Unity 5.2.2f1 Personal, it is a compiler problem with the script of OVRManager.

Assets/OVR/Scripts/OVRManager.cs(23,43): error CS1029: #error: 'Oculus Utilities require Unity 4.6.'

Any help? thank you in advance

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
1
Best Answer

Answer by 7a · Nov 23, 2015 at 12:31 PM

I was digging this topic for a while. Oculus integration in Unity 4.6 and Unity 5.x.x are completely different.

If You have DK2 with Unity 5 it must work itself without Utilities. Here is the tutorial https://developer.oculus.com/documentation/game-engines/latest/concepts/unity-tutorial-rollaball-intro/ and Configuring for Build settings https://developer.oculus.com/documentation/game-engines/latest/concepts/unity-build/#unity-build

If You have DK1 like me it becomes tricky :)

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 Fattie · Dec 21, 2015 at 02:16 AM 0
Share

interestingly it doesn't seem to work if you use 4.7 ....

avatar image 7a Fattie · Dec 21, 2015 at 03:00 PM 0
Share

I haven't tied 4.7 and in 5.x.x it hasn't work for me.

avatar image Fattie 7a · Dec 21, 2015 at 03:05 PM 0
Share

As you explain, if you are using Unity5, you $$anonymous$$UST use the entirely new system from Oculus, for, Unity5.

The "old" Oculus system for (Unity4) absolutely does not work in any way with Unity5.

What I meant was: IF you are using the LEGACY system for Unity4...

https://developer.oculus.com/downloads/mobile/0.8.0.0/Unity_4.x_Legacy_Integration/

"Unity 4.x Legacy Integration"

... I was saying that in fact, it only works for 4.6. It throws errors if you are using Unity 4.7.

However ......... in fact the errors are quite $$anonymous$$or; they just have a couple of defines with "4.6" rather than "4.7"; you can just change them, and use Unity 4.7.

Again, all of this is irrelevant to most people. Basically you $$anonymous$$UST now use Unity5 if you want to use Oculus, and that's that.

Show more comments
avatar image Lukey_BlueNose · Jan 12, 2018 at 08:14 AM 0
Share

Did you ever get that dk1 working...? having a hard time of it myself.

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

7 People are following this question.

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

Related Questions

Oculus DK2 0.5 SDK not working with Unity 5.0.4f1 with mac OSX 1 Answer

Does anybody have any idea what this error means? 2 Answers

Trouble Creating a Basic Oculus and Vive Reticle 0 Answers

[Oculus Rift] OVR camera rig (Player) can't falls down 0 Answers

Oculus Go: Unity project is incompetable 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