when i play the preview the objects on layer 2 disappear does anyone know why?
Develop games in your browser. Powerful, performant & highly capable.
Check if the layer is visible, or maybe has some blend mode that makes it invisible. Check parallax, scale rate. Run the game in Debug Mode, see what really happens with these objects - maybe they are nor destroyed, but still there.