-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
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
AtlasTexture saved with region 0,0,0,0 (no region) spams error in console #28691
Comments
Here is a backtrace of the error:
The error comes from the fact that The check was added in #18629, CC @raphael10241024. |
I just copied the code from a creation function below. |
Main problem with this issue is not the error, is the problem of the unindentified texture. The error doesn´t help in a project with thousand of images, you can´t find the failure manually, it can be a png, a region, etc... ,error should give to the user the path to the failing resource. |
Seems to be fixed in 3.4.2 (no error). Edit: Actually I can reproduce it, but for some reason the error was not shown in the Output panel and only in the console:
|
Godot version:
7018de8
OS/device including version:
win 7 64
Issue description:
Saving an Atlas texture with not region (x=0, y=0, w=0,h=0) will allways spam thit at the project open:
Problem is not the warning... problem is that you don´t know what texture is failing, so in a big project you can have that mensage allways spamming at open and you will never find what is causing that.
Steps to reproduce:
Save an atlas texture to a tres file with no region.
Edit: i will copy error in text for googling help purpose:
Image::create: Index p_widht - 1=-1 out of size (MAX_WIDTH=16384)
At: core\image.cpp:1443
Image::blit_rect: Condition ' dsize == 0 ' is true.
At: core\image.cpp:1927
The text was updated successfully, but these errors were encountered: