Giter Site home page Giter Site logo

Comments (4)

rsanchezsaez avatar rsanchezsaez commented on July 16, 2024

Hi,

I'm afraid this won't work with Unity 4.6.3, the instructions and code are specific to Unity 5.

Can you upgrade to Unity 5?

Cheers.

from cardboardsdk-ios.

rsanchezsaez avatar rsanchezsaez commented on July 16, 2024

I'm closing the issue because I don't plan to support Unity 4.6.3. Please see if you can update.

from cardboardsdk-ios.

nosmirck avatar nosmirck commented on July 16, 2024

Hey Ricardo, thanks for the answer, but still I think you could help me a bit.

I made it work! I managed to compile and run successfully the app on a iPhone 5 iOS 7.1.

What I did:

  • Deleted old CardboardSDK I downloaded from google
  • Imported to the project your folder
  • Build
  • Added the CardboardSDK folder
  • Fixed some compiler errors

But it is only rendering full screen one single camera (the middle camera I guess) I don't know what could be happening, but I suspect some stuff.

First, after I add the CardboardSDK folder into Classes folder inside xCode just like in the instructions, I find some errors (maybe related to the project being Unity 4.6). Two errors are corrected automatically (just using "fix" on xcode, both are casting related) the other 2 errors are a little tricky, one is related to the OpenGL version (the api can't be integer value) so I force the code to be GLES 2.0. The other error is with a function called ConvertToUnityScreenOrientation, it is not even related to your plugin, but I force it to set it landscape left.

I can't switch the project to Unity 5 because I'm using a mobile movie texture plugin that is not compatible with Unity 5. If could help me with this, I'll really appreciate.

Thanks!

Luis.

from cardboardsdk-ios.

rsanchezsaez avatar rsanchezsaez commented on July 16, 2024

Hey Luis,

I'm really sorry but these days I don't have much time to look into this. On first glance I wouldn't know what's the problem you're having. :-/

Best of lucks,
Ricardo

from cardboardsdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.