dilmerv / ARDraw

AR Drawing demos with AR Foundation
66 stars 21 forks source link

Running the app displays a prompt requiring latest version of google play services for AR #1

Open smart09091 opened 1 year ago

smart09091 commented 1 year ago

I just cloned the project and built it for android right now and as far as I know all my google stuff has been updated but when I run the app on my android phone, it displays a prompt that I need the latest version of google play services for AR and just displays the reticle and a black screen. can someone help me debug this? I'd like to get the project to run on my phone before I try and dissect the code to use for my own project

ngozz commented 11 months ago

I built it yesterday and it worked fine. I cloned the project and ran it on the newest LTS release of Unity (with changes in Player Settings to match a normal AR mobile app settings). Can you check Google Play Services for AR on Play Store to see it's up to date? You can also try bumping up the API requirement.

alanspace commented 11 months ago

Hello, @smart09091 and @ngozz. Both android and iOS platform work for me. I want to try WebGL and it becomes black screen. At first, I use the 2019 version to generate WebGL but unsuccessful. Then I upgrade the version to 2021, 2022, and 2023 to trial and error, I could generate the WebGL file but there is no XR management since it is not spported. Afterwards, I try to debug it by installing

WebXR Export https://openupm.com/packages/com.de-panther.webxr/ WebXR Interactions https://openupm.com/packages/com.de-panther.webxr-interactions/

I still have black screen. I hope someone could shed me some lights.

ngozz commented 11 months ago

Hello, @smart09091 and @ngozz. Both android and iOS platform work for me. I want to try WebGL and it becomes black screen. At first, I use the 2019 version to generate WebGL but unsuccessful. Then I upgrade the version to 2021, 2022, and 2023 to trial and error, I could generate the WebGL file but there is no XR management since it is not spported. Afterwards, I try to debug it by installing

WebXR Export https://openupm.com/packages/com.de-panther.webxr/ WebXR Interactions https://openupm.com/packages/com.de-panther.webxr-interactions/

I still have black screen. I hope someone could shed me some lights.

The app uses AR Foundation, which doesn't support WebGL. I don't think there's a way around that.