godotengine / godot

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

GPUParticlesCollisionSDF3D - Texture changes not updating in the Editor #84478

Open HauptmannBoosted opened 11 months ago

HauptmannBoosted commented 11 months ago

Godot version

4.1.3.stable (Steam)

System information

Windows 10 - Godot 4.1.3.stable - Forward+ and Mobile

Issue description

https://github.com/godotengine/godot/assets/87317335/d5c57f07-fe31-4757-9ab5-1ceb3570e75d

Changes on the texture-property of the GPUParticlesCollisionSDF3D-Node (like baking or deleting the texture) only take effect in the editor when the project is reloaded or the scene is completely closed and reopened.

I do not know if this is intended or not, but if it is, I believe this should be mentioned in the documentation.

This is the case in both renderers, Forward+ and mobile (not compatibility since particle collision is not yet supported there)

I have tested removing the texture in code at runtime and I can confirm that at this stage everything works as expected and collisions immediately stop, so this seems to be an editor-only issue.

Steps to reproduce

(video attached)

Minimal reproduction project

project.zip

HauptmannBoosted commented 7 months ago

just revisited the demo today, still happens in v4.2.1.stable.official (steam)