Open shahriarlabib000 opened 1 month ago
This needs more detail, I can't replicate this with a generic project, what does your repo contain? Did you push the .godot
folder to your repo?
This needs more detail, I can't replicate this with a generic project, what does your repo contain? Did you push the
.godot
folder to your repo?
Pls check out this repo
https://github.com/shahriarlabib000/dice
Can't replicate on 4.3, so either there are more steps needed or this is specific to 4.2, can you please try with 4.3.rc3
Can't replicate on 4.3, so either there are more steps needed or this is specific to 4.2, can you please try with 4.3.rc3
I don't know what else i might be possibly doing. Here is the full process that i did in 4.3.rc3: https://youtu.be/QygUDJWCzRU?si=etsFxnL5Br-8CKhC
Seems likely to be android specific then
Your project has 2 png files, I think this is just a harmless warning if the 2 png files are displayed correctly in the editor.
bool Image::is_format_compressed(Format p_format) {
return p_format > FORMAT_RGBE9995;
}
For the first 17 formats there should be no warning, you could try to convert the png files to another format.
Or perhaps because ETC2
must be activated for Android Export?
Image::is_format_compressed(p_new_format)
Turning on ETC2 ASTC
doesn't seem to work
https://github.com/user-attachments/assets/8c16cefe-7bd8-4ff7-9770-eefb6bfaa1f9
ETC2
cannot be deactivated, Godot Editor on Android tries to convert to ETC2
. Maybe we can disable this warning on Android. Or compress
should be executed as stated in the warning.
Is this warning also displayed with other projects?
Image::convert : 5 -> 30
Image::convert : 5 -> 31
5 = FORMAT_RGBA8
30 = FORMAT_ETC2_RGB8
31 = FORMAT_ETC2_RGBA8
I don't understand why this warning is red. Shouldn't warnings be yellow? It's really confusing
Is this warning also displayed with other projects?
Yes i saw it in some other projects as well
I don't understand why this warning is red. Shouldn't warnings be yellow? It's really confusing
I'm not sure if it's critical and which solution would be the best. Image::convert
can also be executed via GdScript, I think it should still show it's error in red.
https://docs.godotengine.org/en/stable/classes/class_image.html#class-image-method-convert
If anyone wants to look for a solution. File drivers/gles3/storage/texture_storage.cpp
I have checked what happens when compress
is executed. There is another warning in the function image->generate_mipmaps()
: mipmaps cannot be created if the texture is compressed.
I don't understand why this warning is red. Shouldn't warnings be yellow? It's really confusing
I'm not sure if it's critical and which solution would be the best.
Image::convert
can also be executed via GdScript, I think it should still show it's error in red.https://docs.godotengine.org/en/stable/classes/class_image.html#class-image-method-convert
Sorry I really don't know how would I convert it with code. Like how would i get reference to the image? Will preload or load work?
Tested versions
System information
Android 11-Redmi 10 2022-Godot v4.2.2.stable
Issue description
When i clone my preexisting repo from github and open it for the first time with godot Editor it there is a error in the output it says
It doesn't cause any issue tho. Everything works normally AFAIK. It doesn't pop up ever again just for the first time.
Steps to reproduce
Clone a repo from github Open with Godot editor
Minimal reproduction project (MRP)
https://github.com/shahriarlabib000/dicedice.zip