was trying to put up a Dive Camera Script for the Tuscany scene. It works fine in the Unity 3D game window, and first attempt to build for Android started a longer session, but seemed to be aborted before finishing … no .akp file was created.
Then every other build attemt just failed.
in the screenshot
how can i find out what is missing and going wrong ?
Hi,
I’ve replaced the camera set with one that i have used in another android scene on my mobile phone, it works fine so far and uses this script https://titanpad.com/TBvpCv9DJp
Sorry, I meant the script that fails compilation and possibly the script containing the referenced class that can’t be found. To be honest I don’t remember exactly how the Camera needs to be setup to get things working on GearVR.
it is part of the original Tuscany Demo scene from OculusVR, not sure where it sits. I looked around but wasn’t able yet to find it.
I deleted out the camera set of OculusVR, which also had the scripts assigned, and copied my camera set in it, which has its own script.
Well, DiveCamera seem to be referencing OVRManager directly or indirectly and that in turn is dependent on OVRTouchpad, which is not included in the Android build according to the compilation error.
hm … in my other by my own created scene, where i use the DiveCamera, there is no reference to OVRManager or any other, and it builds just fine for android.
Not sure how the reference coming up in the Tuscany Demo when i import the Dive Camera set into the scene.
The original Tuscany scene builds fine for PC, but the scene amended with the DiveCamera, is not building for Android.
Also tried to build the original scene for android, but i think it hangs up after a while, left it 20 minutes alone, but no more progress coming through any more.
have tried out to build with just a newly created camera, which starts to build (needed android sdk and jdk installations) but comes with an error about player building.
What is this player that unity is trying to build ?