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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.