Open jitspoe opened 9 months ago
Note that while the simplest case to repro this seems to be easy to work around (don't have 2 material overrides on the same mesh), this can also be triggered by other combinations, like having a material on one mesh in the geometry material override and on another mesh in the mesh's surface material override, so you could have this error occur even with just 1 override. Making each use of the material use the same override seems to work around the issue.
As another workaround, you can just clear the material before the node is queue_free()'d
As another workaround, you can just clear the material before the node is queue_free()'d
Works for me!
Tested versions
System information
Windows 10, Vulkan forward +
Issue description
Tons of spam in the error log about material being null:
etc.
Steps to reproduce
This took ages to figure out exactly what caused this, haha.
Minimal reproduction project (MRP)
test_null_material_spam.zip