Search Issue Tracker

Active

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.