GDevelop boxes does not use the box geometry, it uses 6 planes. if a plane/face is “Hidden” it still renders it. you just cant see it. Since it uses 6 planes and not a box geometry, you could actually just not render the faces hidden
Screenshot from gdevelop source code
Solution: set the material group to -1, since threeJS skips those