-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Saving a cube map using "ResourceSaver.save()" doesn't work #54202
Comments
On RocketChat @lyuma posted that the following commit may resolve this issue V-Sekai@2ba3561 |
This commit also fixes #34312 and a slew of other TextureLayered related tickets that have been open for a long time. Great to see this fixed! 🎊 |
I just checked locally and V-Sekai@2ba3561 doesn't apply cleanly on latest |
I actually tested on |
@Calinou : I tested this on master, but I think there's more broken for |
I've done some investigation but in |
Fixed by #71394. |
Godot version
3.3.3 stable, 3.3.4 stable, 3.4.rc1
System information
Windows, Linux(Ubuntu)
Issue description
Trying to save a cube map resource using ResourceSave.save() doesn't work.
On Windows a 0 byte .tres file is created and the program crashes
On Linux it creates the resource and doesn't crash but the images aren't on it and will give the following error:
The exact same script WILL work if you set it to a EditorScript and run it using Ctrl+Shift+X.
It will create the resource and work fine.
Steps to reproduce
The attached project uses the following simple script:
If you set it to and editor script using the following code and run it with Ctrl+Shift+X it will work correctly.
Minimal reproduction project
skyboxTest.zip
The text was updated successfully, but these errors were encountered: