Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2022.2.0a3

Issue ID

1398253

Regression

Yes

[WebGL] Audio assets throw "The process cannot access the file" and "Cannot create resource file for asset" errors on import

Audio

-

Steps to reproduce:
1. Open attached "azaz.zip" Unity project on Windows
2. Switch to WebGL platform
3. If asset importing didn't fail, right-click and reimport 'Assets/sci-fi_explosion_01.wav' asset in Project Window

Expected result: All assets import without issues
Actual result: Importing/reimporting audio assets opens error dialog window with "The process cannot access the file because it is being used by another process.", pressing cancel button in the window produces "Cannot create resource file for asset: 'Assets/sci-fi_explosion_01.wav'" error in Console

Reproduced with: 2022.2.0a3
Didn't reproduce with: 2022.2.0a2, 2022.1.0b5, 2021.2.9f1, 2020.3.27f1, 2019.4.35f1

Reproduced on Windows with WebGL build target
Not reproducible on MacOS with WebGL build target

Note: "The process cannot access the file" error window is opened for every imported audio asset in project, if project has 1000 assets, it will be opened 1000 times

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.