When layer has background "SolidColor" set and toggling light "Cast Shadows" on, layer background becomes transparent. Also happens in viewer, but works with qt3d-runtime viewer. Attached example uip and screenshots.
This bug seem to have been there ~forever, as I was able to reproduce it even with Qt 3D Studio 2.1. So maybe not commonly used, rather a corner-case.