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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.