#Degenerate triangles in UI Toolkit

1 messages · Page 1 of 1 (latest)

finite galleon
#

Hi, I'm having issues with degenerate triangles in UI Toolkit. I have a hunch it's my world space elements which use Shadergraph materials. I've tried to hunt down every divide by zero and NaN situation, but I'm still having moments where I get brief flashes of degenerate triangles.

#🧰┃ui-toolkit message

More so than finding a solution, can someone help me debug this? How do I set it up so that I can use a frame debugger to know exactly where it's coming from? That way I can narrow down the issue and patch the code that is causing this problem. Thanks!

#

if it helps, it's also happening on both Windows and MacOS (DirectX and Metal) and happening on both render scales (100% and 50%)

tender remnant
finite galleon
#

the frame debugger needs to be frame perfect, no?

#

can i somehow record every frame?

#

it only happens for a single frame

tender remnant
finite galleon
#

it's a video

finite galleon
#

it did not fix it

vital steppe
#

Frame debugger can step forward frame by frame, at least

finite galleon
#

it can, but for some reason i'm having a really tough time recreating this on a frame by frame basis

tender remnant
#

Then it sounds like a race condition. Are you using background threads(possibly via async) anywhere?

finite galleon
#

i will check