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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.