Closed Sp1cyP3pp3r closed 1 year ago
Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/61233, as this is the same issue.
The thing that concerns me is that if I launch Godot from the Steam library, when I run the project, there are absolutely no stutters on switching particle visibility.
Steam has a shader precaching pipeline for Vulkan/OpenGL games, while running the game directly won't use this shader precaching pipeline.
Godot version
4.0.3.stable
System information
Windows 10 | AMD Phenom II X4 810 | Radeon RX 560 Series | GA-880GM-UD2H | 6 GB RAM DDR3 | Vulkan Forward+
Issue description
When not launched from Steam, when I run the project and switch the visibility of any of the two current GPUParticles3D, the project stutters for a brief moment, then stutters out. These particle nodes are located in my player character node and are not visible by default; they are only visible when the player presses RMB (dishonored-esque abilities). The thing that concerns me is that if I launch Godot from the Steam library, when I run the project, there are absolutely no stutters on switching particle visibility.
The first video, Godot launched from Steam: https://github.com/godotengine/godot/assets/83341703/5723f179-0383-4502-ac90-d8f685b30bbc
The second video, Godot launched from its folder: https://github.com/godotengine/godot/assets/83341703/a9532ad1-4866-4eae-afdb-2aaccd57b791
P.S.: It happens, when I instance a box node in the second video, game stutters too.
Steps to reproduce
Minimal reproduction project
N/A (lazy)