arfoundation-demos icon indicating copy to clipboard operation
arfoundation-demos copied to clipboard

AddToQueue() is not working properly

Open makakaorg opened this issue 4 years ago • 1 comments

Let's say I want to restart my AR Onboarding UX.

Instructional IU: CrossPlatform Find A Plane Goal: Found A Plane

Secondary Instructional IU: Tap To Place Goal: Placed An Object

So to restart I just use the part of provided code:

public void ResetUXOrderedQueue() { if (m_StartWithInstructionalUI) { m_UXOrderedQueue.Enqueue(new UXHandle(m_InstructionalUI, m_InstructionalGoal)); } if (m_ShowSecondaryInstructionalUI) { m_UXOrderedQueue.Enqueue(new UXHandle(m_SecondaryInstructionUI, m_SecondaryGoal)); } }

Issue 1.

If I run this function before fading off of Secondary Instructional IU the it's working like a charm. If I run this function after then UX will start with Secondary Instructional IU !

Issue 2.

When I switch to other app and go back to my App the Video Instruction is disappeared and in next restarts I have only text.

Environment:

  • iOS 15.0
  • Unity 2021.1.20
  • iPhone XS Max.

makakaorg avatar Sep 30 '21 20:09 makakaorg

I believe this is an issue with timing and how I'm tracking the time / fading the UI. I'll investigate more and try and follow up with possible solutions. Thanks for reporting.

DanMillerDev avatar Jan 17 '22 23:01 DanMillerDev