SampleProvider throws exception for multi-channel clips (4 channels or more) with the load type set to Compressed In Memory.
How to reproduce:
- Open the attached "sample-provider-multi-channel-bug.zip" project
- Open "Scenes > ClipPlayer"
- Enter Play mode
- Observe the Console window – multiple errors are logged and no sound plays:
- soundHandle->GetFSBData returned null.
- UnityException: Unable to create sample provider.
- Assigned scriptable generator returned an invalid instance.
Actual result: Errors are logged and no sound plays
Expected result: No errors or exceptions are logged and sound plays when entering play mode
Reproducible with: 6000.5.0a8, 6000.6.0a1
Could not test with: any version older than 6000.5.0a8 as the feature is not present before this
Reproducible on: macOS Tahoe 26.5.1
Not reproducible on: No other environments tested