jondyne / ARcore_mobileVRHeadset

ARcore for use in VR headset
31 stars 12 forks source link

Update for newer Arcore versions? #4

Open skunkworksGames opened 5 years ago

skunkworksGames commented 5 years ago

Will there be a update for Unity 2018.3f1 versions?

Your Demoscene can be Build, but all i get on android is a grey screen with the menu buttons, it looks like it is a problem with the rendertexture.

Building over 2018.2 works fine as expected.

nightmark commented 5 years ago

@skunkworksGames I've tried it on Unity 2018.3.6f1. I've updated the unity packages ARCore(to version 1.0.0-preview23) and AR-Foundation(to version 1.0.0-preview20). And all I had to change were two lines in SeeThroughController.cs that broke with the update due to an ambiguous reference. They should be :

Line 31: seeThroughRenderer.Mode = UnityEngine.XR.ARRenderMode.MaterialAsBackground; Line 109: seeThroughRenderer.Mode = UnityEngine.XR.ARRenderMode.MaterialAsBackground;

After that I had no issue building and running on Samsung S8. Do you still run into issues after updating the dependencies?

skunkworksGames commented 5 years ago

Will give it a try today and let you know.