Search Issue Tracker

By Design

Votes

0

Found in

2021.3.28f1

2022.3.5f1

2023.1.5f1

2023.2.0b1

6000.0.0b11

Issue ID

UUM-44692

Regression

No

The main thread is stopped when the SetActive(false) on a GameObject is called while the OnAudioFilterRead() method is executing

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. In the Hierarchy Window, select “GameObject_MyPlugin” GameObject
4. In the Inspector Window, under the “My Plugin (Script)” Component, check the “B Genlock” property
5. Enter the Play Mode
6. Wait for approximately 10 seconds

Expected result: The Play Mode continues running
Actual result: “SetActive(false) Start” log followed by “OnAudioFilterRead(), Timeout!” and “SetActive(false) End” are thrown in the Console Window

Reproducible with: 2021.3.28f1, 2022.3.5f1, 2023.1.5f1, 2023.2.0b1

Reproducible on: Intel macOS 13.4.1

  1. Resolution Note:

    During the deactivation cycle and AudioSource with OnAudioFilterRead may need to wait to remove parts of the underlying mixing engine - this is by design. It is on our radar as a place to improve, thanks for bringing it up.

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.