Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.1f1
Issue ID
844869
Regression
No
AudioSource.GetSpectrumData crashes Editor if Channel is set to a negative number
Repro steps:
1. Open "Nonlinearr.zip" project (attached)
2. Make sure "SpactrumScene" is loaded
3. In the Hierarchy find SpectrumOrigin
4. Open inspector for SpectrumOrigin
5. Enter play mode
6. In the inspector find Spectrum (script) and set Channel property to a negative number
Stack trace:
FMOD::DSPFFT::getSpectrum
FMOD::ChannelGroupI::getSpectrum
Actual: Setting Channel to a negative number in AudioSource.GetSpectrumData causes crash
Expected: Setting Channel to a negative number in AudioSource.GetSpectrumData should not crash the Editor
Reproduced on: 5.3.6p8, 5.4.1f1, 5.5.0b9
Couldn't test on 5.2 because project corrupts
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
This is a duplicate of issue #827154