Whit screen on publish

0 votes
asked Feb 9, 2016 by Nabilfx (120 points)
i publish for iphone but the screen is white in all exaples, how can i fix that?

1 Answer

0 votes
answered Feb 9, 2016 by Alex (6,680 points)
Please can you provide mode details?

1) What example are you trying to build?

2) What iOS version are you targeting? What actual device are you using for your tests?

3) Are you using the Unity plugin or the native SDK?

 

Alex
commented Feb 9, 2016 by Nabilfx (120 points)
yes, Unity plugin , ARMediaSDK_Unity_v2.0.0. with architecture Universal, IOs target 8.0 on Iphone 6 plus.
I trying LocationExample, ChurchExample, BoxExample.
In Xcode i always put AssetLibrary.framework and opencv2

The iphone does not ask no enable the camera for ar, and the screen is white.
commented Feb 9, 2016 by Alex (6,680 points)
Have you set OpenGLES 2 as the only graphics API to use?

Alex
commented Feb 9, 2016 by Nabilfx (120 points)
i set that in unity or xcode?  (set OpenGLES 2 as the only graphics API)
commented Feb 9, 2016 by Alex (6,680 points)
You do it in Unity from the menu File -> Build Settings -> Player Settings, then in the Inspector select the "Other Settings" panel and be sure to un-check the "Auto Graphics API" first and then to just keep "OpenGLES2" in the list just below the checkbox.

Please let us know if this solves your issues.
Alex
commented Feb 10, 2016 by Nabilfx (120 points)
Ok works great. I use the MotionScene, them i put a 3D obj, when i rotate the camera the 3D object stay in the place, but when i walk to the front the 3D object does not stay in the position, it goes to the front with the camera. I need to keep the 3D right were is at, is possible?
commented Feb 10, 2016 by Alex (6,680 points)
Hi,
that's exactly the intended behavior of the Motion tracker used by the Motion example's scene (it uses only the IMU to display 3D content around you). I guess that you'd better use the Object tracker or the Planar tracker perhaps.

Alex
commented Feb 10, 2016 by Nabilfx (120 points)
for the object tracker i need a real object to start the track, and for planar tracker i need an image target right?
I need something that does not need nothing to start, an example, i open the app them it show a plane for me to now where i want to put the 3d object, them i press the plane and it show right in that position in the real world. It could be possible?
commented Feb 10, 2016 by Alex (6,680 points)
As described in the README, in order to try the Object tracker you would need a real object but you can also just open any of the provided images (look into the StreamingAsset folder) and aim your device towards your computer's display in such a way that the image fills the device's camera.

You can also try the Planar tracker by printing the provided target, again available in the StreamingAssets folder related to the planar example.

Hope this helps.
Alex
Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.
...