Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

ROOM_MATERIAL_SLOT_OVERFLOW

Constant ROOM_MATERIAL_SLOT_OVERFLOW 

Source
pub const ROOM_MATERIAL_SLOT_OVERFLOW: u16 = 223;
Expand description

Room materials dropped because their local_slot is >= MAX_ROOM_MATERIALS, i.e. the room references more distinct materials than the per-room material table can hold. Every surface using a dropped slot renders untextured or not at all. A non-zero value means the per-room material cap is too small for the cooked room (raise MAX_ROOM_MATERIALS or reduce the room’s material count). This was the silent root cause of the demo10 invisible frieze/stairs.