react-native-unity-view icon indicating copy to clipboard operation
react-native-unity-view copied to clipboard

ARKit only shows green scren

Open mr-ryan-james opened this issue 8 years ago • 8 comments

It seems by requiring only OPENGLES 2, we are making it so ARKit won't work :( See the below attachment. Do you know if any way I can include Metal as the rendering engine?

https://bitbucket.org/Unity-Technologies/unity-arkit-plugin/pull-requests/6/support-opengl-es-2-as-the-rendering-api/activity

mr-ryan-james avatar Mar 25 '18 23:03 mr-ryan-james

Can you give me your unity ARKit demo project or RN project? And please tell me your unity verison and operating system.

f111fei avatar Mar 26 '18 01:03 f111fei

Thanks for the fast response! I will get an example up for you sometime later this week.

mr-ryan-james avatar Mar 26 '18 01:03 mr-ryan-james

I seem to have this going with metal with a fairly simple scene. I did have to add the ARKit to linked libraries in the build phases and disable the warning as error for 'non-void function reaches end' or whatever. Is there a reason I should know about for why openGL ES 2 is specified in the readme just so I don't hit surprises down the road?

briancalvium avatar May 01 '18 13:05 briancalvium

@briancalvium Any chance you could post your code on github? I was never able to get this to work with ARKit, and I would love to see how you did it.

mr-ryan-james avatar May 01 '18 13:05 mr-ryan-james

There's not much code to show, as beyond the example, it was just the aforementioned settings. screen shot 2018-05-01 at 14 36 20 screen shot 2018-05-01 at 14 36 02

briancalvium avatar May 02 '18 09:05 briancalvium

I'm experiencing this issue, is there a reason for only supporting OPENGL 2? Why is metal not supported? @f111fei? Thanks!

luisfcofv avatar Jun 06 '18 16:06 luisfcofv

I am trying to get ARKit working as well and mine gets held up. Any idea how to get past this? screen shot 2018-06-28 at 4 51 10 am

and @briancalvium what did you mean by this?

disable the warning as error for 'non-void function reaches end'

kevando avatar Jun 28 '18 08:06 kevando

I had the same issue w/ the green screen in ARKit. I solved the issue w/ change settings to Graphics API : only Metal.

Frulko avatar Jul 02 '18 13:07 Frulko