Search Issue Tracker

Fixed

Fixed in 2022.3.49f1, 6000.0.58f1, 6000.2.5f1, 6000.3.0a2

Votes

0

Found in

2022.3.39f1

6000.0.37f1

6000.3.0a1

Issue ID

UUM-77042

Regression

No

[VisionOS] Opening and closing Swift UI in visionOS application mutes Unity audio

-

1. What happened
When any native Swift UI is dismissed, Unity audio is muted. Audio may also mute immediately after the application starts if there is Swift UI that opens on application start.

2. How can we reproduce it using the example you attached
Build to an Apple Vision Pro. The attached example is just the visionOS Template (1.2.3) set to build the Swift UI sample with an looping audio track added.

Same issue is described here on the discussion forum:
https://discussions.unity.com/t/closing-any-swiftui-window-mutes-audio/348038/8

  1. Resolution Note (fix version 6000.3.0a2):

    A few audio app lifecycle issues were fixed on visionOS. Previously, when moving the Unity app through the various lifecycle states (i.e. foreground, background), audio could stop playing in error.

  2. Resolution Note (fix version 2022.3.49f1):

    On visionOS, fixed a few different bugs related to audio dropping out and/or crashing related to app lifecycle changes.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.