Open zhenwei2972 opened 1 year ago
I suggest you to downgrade unity engine to 2021, because unity 2022 engine use XROrigin to replace ARSessionOrigin. However, the so far, ARcore extension geospatial is still using ARSessionOrigin. I guess this should be an issue but not sure it is related with your issues or not. You can try if you have time. I also get issue during to run geospatial sample app with the camera issues, I am waiting for expert to give me some idea to solve. :)
Andy
Have you created a 3D project or 3D (URP) project? because the use of 3D URP project template causes the same error for me (both bugs: stuck compilation and black camera).Try with simple 3D project template instead.
URP project is no problem, I've created some URP projects from 1.35~1.40. You need to add AR Background Render Feature in your URP Render Data, otherwise the ar background won't render.
And by the XROrigin issue, my solution is select the Origin object and switching to Debug mode on Inspector. Replacing the XROrigin script with ARSessionOrigin directly. Then switching back Normal mode of inspector.
I had the same problem with android build stuck with Unity 2022. With Unity 2021 it works (with URP).
I noted ARCore Extensions require ARSessionOrigin but it is deprecated. Which unity version do you recommend to realize an Ar Application working with real-world coordinates (north, south, east, west)? and Wich ARCore version? Now i'm using unity 2022.3.14 and ARFoundation 5.1.1. Thanks in advance.
I had the same issue but updating to 1.41 made it build
Hi folks, I suspect it was an issue with 1.40, I downgraded to 1.39 but believe that the build still did get stuck, so what I ended up doing was to manually install the dependencies of arcore unity extensions, that seem to have solved the build issue. will leave this issue open for now until an official contributor can comment. Also @maowu is correct with his suggested fix for missing Camera background, just add the AR Background Render feature and all is good.
Hi team, I have ARCore Extensions 1.40 and the latest ARFoundation & ARCore packages and am running into build issues, where the Build gets stuck at Building Player in Unity 2022. Is this a known issue and if so is there any possible work-around aside from downgrading? This issue does not exist in 1.39