CollisionPolygon2D
only shows up in the editor and sometimes in the game preview if debug collision shapes are enabled. However, as the name says, this is only for debug purposes, so it will never show in an exported game.
If you want your cave to show up, you need to have a proper visual node, such as Polygon2D
.