steam-audio
steam-audio copied to clipboard
Facing crashes every time I try to run the game in Unity
Hey, I have an issue where my editor will crash every time I try to run it. More details can be found in the attached crash log as in I did nothing special but just followed the getting started in the docs Editor.log
Update: removing AudioClip.Stop() from FixedUpdate seems to fix is but now I have a new error.. Editor.log .
Think I figured this out.
once the scene is exported via steam audio menu, it creates a scene view window gizmo. that, has to encapsulate an area with reverb/reflection/steam audio source elements within it. if you generate over an area where there are none, it creates..... 0 probes. 0 then gets passed through to the internal dll method and results in an arithmetic error, and a crash in the unity editor. presumably because you can't divide by 0.
@Xapu1337 @vTimeMaca Can you provide a crash dump or a minimal test scene/project? That will help us reproduce the issue faster. Thanks!
We've just released Steam Audio 4.1.0, which includes various crash fixes: https://github.com/ValveSoftware/steam-audio/releases/tag/v4.1.0.
Try it out and let us know if these crashes persist in the new version.
@Xapu1337 @vTimeMaca Can you provide a crash dump or a minimal test scene/project? That will help us reproduce the issue faster. Thanks!
Thanks for the update! Real-time audio now works flawlessly! I will be trying out baked audio soon, but I have a question, do you know why it says that "No OpenCL Device is found"? I have a 3060 and it should be capable of
Closing per the last couple comments.
Sorry, I don't have any insight into the follow up question.