When using `Texture.ensure_cube_array` the resulting texture wasn't actually layered (array) and when used resulted into incorrect behavior. Until now this function isn't used, but will be in when Eevee-next world reflective light PR lands #108149 . Pull Request: https://projects.blender.org/blender/blender/pulls/109497