Search Issue Tracker
By Design
Votes
0
Found in
6000.0.60f1
6000.2.8f1
6000.3.0b6
6000.4.0a3
Issue ID
UUM-122366
Regression
No
Audio preview stops in Editor when Unity loses focus and "Run in Background" is disabled
Reproduction steps:
1. Open the attached “IN-120835.zip” project
2. Go to Edit > Project Settings > Player > Resolution and Presentation
3. Make sure the “Run In Background” property is checked
4. From the Project Window, select the “test.mp3” asset
5. From the Inspector play its preview
6. Remove the focus from the Editor (switch to some other application)
7. Observe the audio preview has not stopped
8. Uncheck the “Run In Background” property
9. Repeat 4-6th steps
10. Observe the audio preview
Expected result: The audio preview is not affected by the "Run in Background" setting that is in the Player settings
Actual result: The audio preview is affected by the "Run in Background" setting and stops playing
Reproducible with: 2023.1.0b1, 6000.0.60f1, 6000.2.8f1, 6000.3.0b6, 6000.4.0a3
Reproducible on: Windows 11
Not reproducible on: no other environments tested
Note:
- The behavior that "Run in Background" setting also affects the Editor seems really unintuitive. A solution could be to add a different setting in the Project Settings, that would be specifically for audio preview settings in the Editor like “Play in Editor in Background / Play audio preview in Background”
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:
it's true that this is not intuitive, but it is as designed in the current system. we hope to introduce a better design with this setting in the future when we have untangled audio routing in the editor, and will keep this issue in mind.
Thank you for reporting!