You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 10, Vulkan Forward Plus, NVIDIA GeForce GTX 1070
Issue description
Placing lots of decals on a mesh silently crashes, and when it reaches the thousands it starts to cull decals.
Steps to reproduce
To achieve silent crash (Closing unprompted with no errors), place a lot of decals in rapid succession.
--- Debugging process started ---
Godot Engine v4.0.beta2.official.f8745f2f7 - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1070
1
2
...
...
204
205
--- Debugging process stopped ---
When it doesn't crash (achievable often by placing at a slower pace), you can see some of the odd behavior that seems to occur around 1,000 decals, old decals will get culled at random but still contribute to nodes and active objects, as can be seen in the debug monitor.
To use the reproduction project:
Left-click and drag on the sphere to rapidly place decals
Can rotate the sphere with right-click and drag
Zooming achievable by scrolling
The text was updated successfully, but these errors were encountered:
ynot01
changed the title
Strange decal crashes & behavior when placing at rapid pace
Decal crashes & culling behavior when placing at rapid pace
Oct 13, 2022
The culling behavior is expected – you need to increase Max Clustered Elemenets to circumvent it, at the cost of performance on some GPUs.
PS: For drawing trails with hundreds of points or more, decals may not be suited for performance reasons. Consider using PlaneMesh instead. While a PlaneMesh can't adapt to uneven terrain, trails are usually quite small so it's not that noticeable.
Godot version
v4.0.beta2.official.f8745f2f7
System information
Windows 10, Vulkan Forward Plus, NVIDIA GeForce GTX 1070
Issue description
Placing lots of decals on a mesh silently crashes, and when it reaches the thousands it starts to cull decals.
Steps to reproduce
To achieve silent crash (Closing unprompted with no errors), place a lot of decals in rapid succession.
When it doesn't crash (achievable often by placing at a slower pace), you can see some of the odd behavior that seems to occur around 1,000 decals, old decals will get culled at random but still contribute to nodes and active objects, as can be seen in the debug monitor.
To use the reproduction project:
Left-click and drag on the sphere to rapidly place decals
Can rotate the sphere with right-click and drag
Zooming achievable by scrolling
Minimal reproduction project
PaintGlobe.zip
The text was updated successfully, but these errors were encountered: