-
-
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
[3.2.4 RC3] Texture Rect doesn't Render on iOS #46577
Comments
@Tekuzo Please upload a minimal reproduction project to make this easier to troubleshoot. Also, which renderer are you using (GLES3 or GLES2)? Can you reproduce this on 3.2.3 or previous 3.2.4 RCs? Alternatively, consider using a TextureProgress or ProgressBar node to display the player's health. |
GLES2 |
Do older versions (rc2, 3.2.3) has same issue or it's 3.2.4rc3 only? |
3.2.3 did have the same issue and I didn't think anything of it then because 3.2.3 had this issue which is why I tried out 3.2.4 RC3 |
Does switching to GLES3 for iOS help? |
Unsure I didn't switch it to GLES3 as I have been unable to re-produce the bug outside of my project. I have tried to create a minimal project to upload that features the glitch, and it renders every time, so it must be something else that is causing it to not render. |
Godot version:
Godot 3.2.4 RC3
OS/device including version:
iPhone SE running iPhone OS 14.4
iPad 5th Generation Running iPad OS 14.4
Issue description:
I have a texture rect in a control node that I use as my health bar for the player.
The texture rect stretch mode is set to tile and I control the rect_size through code to dynamically show the player's HP.
Doing it this way works normally on Windows, Mac and Android. When I try to play the game on my iPhone or iPad after exporting to iPhone, opening xcode and running the project on my phone, the texture rect only shows as a black box the size of the texture rect.
When I switch the stretch mode from tile to scale it will render properly.
Steps to reproduce:
Canvas Layer -> Control -> Texture Rect -> Stretch Mode: Scale
Minimal reproduction project:
My setup to reproduce this glitch is a scene with a Canvas Layer -> Control -> Texture Rect
I have the texture rect stretch mode to Tile and it will render like the screen shot
The text was updated successfully, but these errors were encountered: