Skybox stop working

Hi guys,

I just updated to the latest version of jME3, r7455, and I started getting this error when using skybox:


java.lang.IllegalArgumentException: 3D/Array images not allowed

at com.jme3.util.SkyFactory.checkImage(

at com.jme3.util.SkyFactory.checkImagesForCubeMap(

at com.jme3.util.SkyFactory.createSky(

at com.jme3.util.SkyFactory.createSky(


You can get the same error if you run TerrainTestAdvanced

I found that if I comment out the image.getDepth() check in SkyFactory.checkImage(), then everything would work again.

Thanks, fixed

1 Like

Thanks! Awesomely fast as usual.