ValveSoftware / steam-audio

Steam Audio
https://valvesoftware.github.io/steam-audio/
Apache License 2.0
2.2k stars 152 forks source link

iplSimulatorAddProbeBatch throws exception, if simulator is created without enabling pathing or indirect effects #338

Closed Oldnice closed 2 months ago

Oldnice commented 3 months ago

System Information

Issue Description This is caused due to SimulationManager.mProbeManager only being instantiated if pathing or indirect effect is enabled, but iplSimulatorAddProbeBatch eventually calling mProbeManager->addProbeBatch(...) without a null check.