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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.