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
- UTF-8 character in index.html is corrupted when building a WebGL project
- Help box icon in "Tile Palette" window is blurry in both Unity themes
- Memory leak when importing a non-embedded-texture FBX exported from Character Creator 5 with “Mouth Open as Morph” and “Convert Skinned Expressions to Morphs” enabled
- Drop-down component is overlapped with the default Tile Palette layout line
- VisionOS Player and Simulator crashes on "nw_read_request_report [C1] Receive failed with error "No message available on STREAM"" when playing a video through VisionOSVideoComponent
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!