Search Issue Tracker
By Design
Votes
0
Found in
5.3.4p1
Issue ID
806427
Regression
No
Audio clip has to be Reimported to get correct compression values in Preview tab
Steps to reproduce:
1) Download attached project "AudioImport.zip" and open in Unity.
2) Drag and drop attached audio clip "test" in the Project tab.
3) Compare compression settings in Inspector tab and Preview tab.
Note: You should notice that Compression Format is different. (see image attached "different.png").
4) In project tab, clock on audio clip 'test' and Reimport it.
Note: Compression format changed in Preview tab. (see image attached "changed.png").
Expected result: Imported audio clip compression should be correct in preview tab at the beginning.
Actual result: you have to Reimport this audio clip to get correct compression in Preview tab.
Tested versions : 5.2.4f1, 5.3.5p5, 5.4.0b23
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
This behavior is correct. The audio importer inspector shows the importer settings, and the preview shows the properties of the actual imported audio clip.
What happens is:
- The clip gets imported with the original settings
- OnPostprocessAudio is called _after_ the clip has been imported
- The user code overrides the importer settings, but does not reimport the clip
- The importer settings are now different than the settings for the actual imported clip, which is accurately shown by the importer inspector and the clip preview
- The user reimports the clip
- The new import settings are now applied
- The clip now matches the import settings, and the states of the importer inspector and the clip preview reflect this