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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
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.
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.