godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.24k stars 21.22k forks source link

buggy editor preview on android #93357

Open shahriarlabib000 opened 5 months ago

shahriarlabib000 commented 5 months ago

Tested versions

-Reproducible in: 4.3.0.beta1 , 4.3.beta3,4.3.dev4 -Not Reproducible in: 4.2

System information

Android 11 - Godot V.4.3.0.beta1

Issue description

when I add a shader to a spatial or 3D mesh the preview window sometimes become buggy and unresponsive . I think it sometimes also mess up the script's preview tho it's uncommon and harder to replicate

https://youtu.be/H3LpudcVXQY?si=HssNDh3pIDYJMkQO

Steps to reproduce

just try to add a gdshader to a mesh and open and close the shader editor. I don't think this is the only way tho. also I'm using compatibility renderer

Minimal reproduction project (MRP)

N\A

shahriarlabib000 commented 5 months ago

here is another video that hopefully shows it more clearly https://youtu.be/2Mc86Hh6E6A?si=kCmgzMJD8-YTx83E and an image of the buggy script preview Screenshot_2024-06-19-21-43-46-20_653f2d6f0c14415f40b50121f34f510c

Calinou commented 5 months ago

@shahriarlabib000 Which Android device model are you using?

If you can't reproduce this in 4.2.x, I guess it's related to https://github.com/godotengine/godot/pull/83976 as you mentioned the mesh preview (which always uses 4× MSAA).

shahriarlabib000 commented 5 months ago

Realme RMX2189

this is what i found on the internet CPU Octa-core (4x2.3 GHz Cortex-A53 & 4x1.8 GHz Cortex-A53) GPU PowerVR GE8320

shahriarlabib000 commented 5 months ago

@Calinou not the mesh preview rather the actual viewport (sorry idk what its called like the main viewport that is the biggest and in the center that gets buggy and sometimes doesn't move in 3d space according to the on screen joystick movement or rather it moves but the viewport doesn't update) sorry idk what i was talking about

shahriarlabib000 commented 4 months ago

tested it on 4.3.beta3 I think only the camera view isn't update. everything else feels very smooth. and yes it definitely only happens when mesh preview appears as @Calinou said