You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System Information
Please provide the following information about your system:
Steam Audio version: 4.5.0-4.5.3 (previous versions not tested)
(If applicable) Unity version: 2021-6000 (many sub versions between tested)
Operating System and version: Windows 10/11 (many sub-versions tested)
(Optional) CPU architecture (e.g. x86-64, armv7): x64 (AMD and Intel tested)
Issue Description
We wanted to use Steam Audio in our projects but in every project on every tested Unity and SA versions on many different computers we got crashes. Always on stopping game in editor (not pause). I tried to fix it as task in work but no luck.
It's crashing randomly, sometimes whole day is fine, another day it crashes on every stop. One day it crashes for one person but not for the other (on the same project version). It's not crashing is there is no audio scene, I mean no audio scene baked, and no probes etc. For one of our projects we made optimized Unity raycaster for occlusion/transmission and we were using only this and HRTF and nothing else and then it was completely fine, but when we bake scenes, bake probes etc and use them then lottery begins.
In Android builds it's fine.
Technical info:
It's always crashing on _aligned_free in Memory::free (memory_allocator) with Heap Corruption Exception.
Mostly from struct deleter (same file as above) but sometimes from other sources too (like CSource::release invoked from API from Unity).
I even added list with all addresses allocated with Memory class and on every Memory::free I'm checking if this address is allocated and if yes only then I'm doing _aligned_free and removing this address from list and it still crashes.
It's crashing on normal version from GitHub I just attempted to fix this.
Crash Dump
I will add it soon because dumps I have now are from my modified version.
The text was updated successfully, but these errors were encountered:
We've been having similar issues since we integrated FMOD + Steam Audio into our project. Are you using reflections at all? We've had significantly less crashes on runtime end since we disabled that, but that's purely anecdotal.
We aren't using FMOD and don't know about reflection (if we use them) but even if, we don't use them on Steam Audio.
We had this problem on at least 4 different projects (and on different Unity versions) and one of them was so basic that I'm sure there was no reflection used.
System Information
Please provide the following information about your system:
Issue Description
We wanted to use Steam Audio in our projects but in every project on every tested Unity and SA versions on many different computers we got crashes. Always on stopping game in editor (not pause). I tried to fix it as task in work but no luck.
It's crashing randomly, sometimes whole day is fine, another day it crashes on every stop. One day it crashes for one person but not for the other (on the same project version). It's not crashing is there is no audio scene, I mean no audio scene baked, and no probes etc. For one of our projects we made optimized Unity raycaster for occlusion/transmission and we were using only this and HRTF and nothing else and then it was completely fine, but when we bake scenes, bake probes etc and use them then lottery begins.
In Android builds it's fine.
Technical info:
It's always crashing on _aligned_free in Memory::free (memory_allocator) with Heap Corruption Exception.
Mostly from struct deleter (same file as above) but sometimes from other sources too (like CSource::release invoked from API from Unity).
I even added list with all addresses allocated with Memory class and on every Memory::free I'm checking if this address is allocated and if yes only then I'm doing _aligned_free and removing this address from list and it still crashes.
It's crashing on normal version from GitHub I just attempted to fix this.
Crash Dump
I will add it soon because dumps I have now are from my modified version.
The text was updated successfully, but these errors were encountered: