Weird bug with the popup device consuming main screen ui and audio

Summary

I spent hours working out why the screen ui - text_blocks were not updating and why the audio wasnt playing when a item was being sold via the conditional button.

What i found is this…

When you have a loop: func and wanting to keep the popup on screen you have to keep showing the popup device or it auto hides on any button press. When showing again it consumes audio and main screen ui until you close it. Im unsure if this is intended but feels like a bug for sure. I dont remember this doing it before now but please look and confirm

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

I will show snippets and video but basically show a popup and do an action either ui/audio based and then reshow the popup

Expected Result

it would be nice if the popup remain without needing to show constantly tbh but i would settle for it not consuming the ui/audio when being shown again

Observed Result

its all over the place tbh spent hours working this out :frowning:

Platform(s)

pc

Island Code

6854-8701-0605

Additional Notes

I will attach snips of code and vids of the issue i can replicate everytime

Verse code with Sleep()

Verse code without Sleep()

Video with sleep()

Video without sleep()

As you can see this is weird for sure and got me scratching my head. The audio issue alone i thought was weird. The ui icons are all in verse running on a loop: 0.3 and everything prints the correct amounts just the ui doesnt vidually update and the audio doesnt play until the popup is either closed or Sleep() is used

When i run the func() to sell the items it activates a condition_button and the audio and Sleep(0.1) per interation of the loop so when i sell 1 item (Top Arrow Sleep) i need Sleep(0.2) - (0.1 doesnt work) for everything to work before showing the popup again. When i sell 5 items i use Sleep(0.6)

After the without Sleep() when you close the popup you get some delay/lag while everything is updating