Search Issue Tracker
Fixed in 2020.1.X
Votes
8
Found in
2018.4.0f1
2019.2.0a1
2019.3.0a1
2019.3.0b1
2020.1.0a1
Issue ID
1181376
Regression
No
[Linux Player] Stack Overflow crash when accessing AudioSettings.dspTime in OnAudioFilterRead()
How to reproduce:
1. Open the user's originally attached project
2. Build the project for Linux standalone
3. Run the built project
-- observe the crash
Reproducible with: 2018.4.8f1, 2019.2.5f1, 2019.3.0b3, 2020.1.0a3
Could not test on 2017.4 due to errors baking lightmaps.
Not reproducible on WIndows.
Stack overflow error text:
Stack overflow in unmanaged: IP: 0x7f62e7e8c903, fault addr: 0x7f62e44fefc8
Stack overflow in unmanaged: IP: 0x7f62e7eaa1e5, fault addr: 0x7f62e44fdab8
Stack overflow in unmanaged: IP: 0x7f62e7f3a6d1, fault addr: 0x7f62e44fdfe8
Stack overflow in unmanaged: IP: 0x7f62efc89bbc, fault addr: 0x7f62e44fdff8
Stack overflow in unmanaged: IP: 0x7f62e7eaa1e5, fault addr: 0x7f62e44fcf78
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
casuallynoted
Jan 15, 2020 15:01
https://forum.unity.com/threads/was-this-issue-ever-actually-fixed.809871/
Mentioned in the forums, hopefully we'll get some kind of response.
marcosource
Dec 20, 2019 19:27
Will this issue ever be properly addressed ?
Digital-Kitsune
Dec 06, 2019 08:03
Could unity point me to a changelog that in any way references this issue? I went through every beta I could access as well as the full releases and I could not find any references to this issue number (under "known issues" or "fixes"). Although a number of pages 404'd me.
Has it just not shipped in any beta release yet? Or was it just left out of the patch notes?
casuallynoted
Oct 21, 2019 19:17
Has the fix for this bug been backported to any other unity releases? If so, which ones?
casuallynoted
Sep 08, 2019 14:39
I agree. This was closed without proper thought into the problem.
Frooxius
Sep 08, 2019 14:36
Hello,
I believe this is incorrect.
If you look at the example included in the documentation you just linked, you can see that the AudioSettings.dspTime is being accessed from within the OnAudioFilterRead function.
The issue is not with accessing general Unity API, but the audio specific one, which should function correctly from within the audio thread since that's its intended usage (according to the official documentation).
It works correctly under Windows and Android and is crucial for using the OnAudioFilterRead code (including the official example). Can you please look into this again?