I'm using Worldspawn layers to associate footstep sounds to different surfaces (textures).
I wanted to create a brush entity that acts like a secret door (same texture as the surrounding wall/floor)
but I discovered that Qodot either:
fails to create the brush entity (missing CollisionShape) if the worldspawn layer contains at least 1 brush.
crashes while building the map if the only brush using the texture is the BrushEntity with this error
res://addons/qodot/src/nodes/qodot_map.gd:851 - Invalid type in function 'add_surface_from_arrays' in base 'ArrayMesh'. Cannot convert argument 2 from Nil to Array.
I'm using Worldspawn layers to associate footstep sounds to different surfaces (textures).
I wanted to create a brush entity that acts like a secret door (same texture as the surrounding wall/floor) but I discovered that Qodot either:
fails to create the brush entity (missing CollisionShape) if the worldspawn layer contains at least 1 brush.
crashes while building the map if the only brush using the texture is the BrushEntity with this error
I suspect the problem lies in this libqodot line
I think it should only consider the
worldspawn
classname while ignoring other brush entities.But I'm not familiar enough with C and libqodot to investigate it more.