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
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
- Errors in the Console when creating a new "2D Platformer Microgame" template project
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
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.