By DrDigg0R
on Thu, 04/09/2015 - 10:25
Hi,
I tried to set up a sample project using the new beta. I tried to set up a scene by myself using just Vuforia prefabs and I tried to run sample applications (both in Unity) as well.
However, everytime I click play in the Unity Editor or also if I build and deploy to iPhone 5s the camera "StereoCameraRight" GameObject gets removed from the scene and the settings for the "StereoCameraLeft" GameObject revert to the settings the normal camera would have.
Is this only as Vuforia is recognizing that the Unity Editor or my iPhone 5s is no supported device or do I miss somethinge else here?
StereoCameraRight removed from hirarchy on play
I have the same problem in play mode AND on the Epson Moverio BT200, so the problem is not that you're on an iphone.
StereoCameraRight removed from hirarchy on play
Thanks for your feedback - good to know! :)
Edit:
StereoCameraRight removed from hirarchy on play
StereoCameraRight removed from hirarchy on play
Got it working with a pretty dirty hack - at least good enough for a bit testing/prototyping. Basically I instantiate the second camera manually within a c# script again.
StereoCameraRight removed from hirarchy on play
Hi DrDiggOR,
Could you show me how you added the second camera back in a C# script? I'm quite new to Unity and C#.
Many thanks.
StereoCameraRight removed from hirarchy on play
StereoCameraRight removed from hirarchy on play
Hi Hummingbird,
I'm afraid I don't have the script anymore. However, it shouldn't be to hard to find out again.
StereoCameraRight removed from hirarchy on play
StereoCameraRight removed from hirarchy on play
Adding a "digital eye wear app key" from the vuforia developer license manager did the trick for me!
StereoCameraRight removed from hirarchy on play
Thanks jasonribs, sadly adding the digital eye wear app key don't does the trick for an unsupported device.
StereoCameraRight removed from hirarchy on play
Holly shit. It could have just say anything in console. One must spend hours of figuring out why the bloody camera gets deleted from hierarchy and plenty of errors are thrown to console. Thanks for hint guys.