When deleting the last planar probe in the scene the color and depth textures are resized with 0 layers. This isn't allowed. This is fixed by adding an early exit and creating dummy textures. Pull Request: https://projects.blender.org/blender/blender/pulls/113437