Search Issue Tracker

Won't Fix

Votes

0

Found in

Issue ID

1362722

Regression

No

PNG import fails when file is still being written to

Asset - Importers

-

If Unity starts to import a PNG file while it's still being written to then the import will fail.
We should check if there's anything we can do to determine if the file is still in use before trying to import it.

Reproduced by exporting a 4k png directly from GIMP into the Assets folder of a project and switching to the editor (triggering the import automatically) before the export has completed.

  1. Response avatar

    Resolution Note:

    The user is warned and a refresh will get everything back on track. This will not be fixed in the near future.

Comments (1)

  1. 8e5c005f03aa345489e9ab4526d83c60?d=mm

    HIBIKI_entertainment

    Sep 06, 2021 18:22

    You must ensure that your file creation software has finished exporting and writing to disk first before you make the unity window active again. This only affects files that are being directly imported into the assets folder.

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.