Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextureArray cannot be re-imported #38870

Closed
Zylann opened this issue May 19, 2020 · 1 comment
Closed

TextureArray cannot be re-imported #38870

Zylann opened this issue May 19, 2020 · 1 comment

Comments

@Zylann
Copy link
Contributor

Zylann commented May 19, 2020

Godot 3.2.1

  1. Make an atlas of textures as PNG
  2. In Godot, change its import type into TextureArray. If you click Reimport, it will ask you to restart the editor (I'm surprised how that's needed but that's currently expected), so do that
  3. Once back in the editor, double-click on the PNG to make it show in inspector.
  4. Go in the Import dock and click Reimport again. This pops up:

image

In the console:

ERROR: Safe save failed. This may be a permissions problem, but also may happen because you are running a paranoid antivirus. If this is the case, please switch to Windows Defender or disable the 'safe save' option in editor settings. This makes it work, but increases the risk of file corruption in a crash.
   At: drivers/windows/file_access_windows.cpp:183

I have Windows Defender, I suspect Godot is stepping on its own toes here.

This does not reproduce if I skip step 3). It happens all the time as soon as the resource is in the inspector's history. Re-importing works fine for other kinds of resources.

Project:
ReimportTextureArray.zip

@YuriSizov
Copy link
Contributor

Fixed by #71394.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants