Closed Ardoos closed 3 years ago
thanks for the report, I'll look into this and see if there's a fix to the code or if I can suggest a different workflow.
I was able to reproduce this in a similar environment and conditions and noticed the same behavior you did. The 'Tap To Place' video was playing but it was transparent and after placing an object it would flash on and fade off.
I've fixed this by adding an early check to the condition int his commit https://github.com/Unity-Technologies/arfoundation-demos/commit/4f5f889d50d301195afebc502022483dcb8d2695
This should hopefully fix the issue you were running into. I'd also recommend checking out the API for adding and showing custom UI at different times as it sounds like you have a bit more of a unique user flow in your app.
UX manager is bugging when I'm swapping between different scenes that use AR. My use is simple, first goal is to detect at least one plane and second one is to tap to place the object. When I finish one scene and load next one I don't have this part of UI (bottom part is working ok).
I modified Update in UIManager.cs with Debug to check what is the problem.
When I change the scene, I call arsession.Reset() from another script, but it seems that phone is relocating all planes almost instantly. Therefore in console I have debug (based on Update() modifications) like this:
How can I fix it so user instantly see "Tap to place object" instruction if phone already loaded planes on scene swap?