Search Issue Tracker
Duplicate
Votes
0
Found in
2021.2.0a20
2022.1
Issue ID
1355073
Regression
Yes
[Audio] Selecting audio file in Project window throws error "Unknown platform passed to AudioImporter.GetOverrideSampleSettings"
Reproduction steps:
1. Create a new Unity project
2. Import "Example.wav" into the project
3. Select the .wav file in the Project window
Expected result: there are no errors in the console
Actual result: an error is thrown "Unknown platform passed to AudioImporter.GetOverrideSampleSettings (Server)..."
Reproducible with: 2021.2.0a20, 2021.2.0b6, 2022.1.0a4
Not reproducible with 2019.4.29f1, 2020.3.15f2, 2021.1.16f1, 2021.2.0a19
Notes:
1. This does not affect Play Mode, the audio files themselves work fine
2. Reproduced with .wav and .mp3 formats (did not test any other)
Full error:
Unknown platform passed to AudioImporter.GetOverrideSampleSettings (Server)
UnityEditor.AssetImporters.AssetImporterEditor:InternalSetTargets (UnityEngine.Object[]) (at /Users/bokken/buildslave/unity/build/Modules/AssetPipelineEditor/ImportSettings/AssetImporterEditor.cs:281) error when selecting a wav file in project window.
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
- Vertical Layout Group doesn't maintain proper spacing when nested UI elements change size at runtime
- Error "Objects are trying to be loaded during a domain backup. This is not allowed as it will lead to undefined behaviour!" when entering Play Mode with the PBR Sky Shader Graph created in Project
- Custom Property and Function Labels at the top of the Graph Inspector go out of bounds and are not truncated when String is long
- Warning "Full dialog message:" is logged when the project is upgraded to a newer version
- A 404 page is opened when selecting "Open Documentation" for any of the HDRP specific Input Nodes in Shader Graph
This is a duplicate of issue #1345239