godot: Importing a Radiance HDR image for use in a PanoramaSkyMaterial freezes the editor
Godot version
4.0.alpha (184709427)
System information
Fedora 36, GeForce GTX 1080 (NVIDIA 510.68.02)
Issue description
Importing a Radiance HDR image for use in a PanoramaSkyMaterial freezes the editor. Note that the initial texture import doesn’t freeze the editor. It only freezes when you load the texture in the PanoramaSkyMaterial’s Panorama property, which detects the texture as being used in 3D and causes a reimport with different options.
This doesn’t occur in 3.4.4.
As a workaround, disable automatic VRAM texture compression when 3D use is detected by setting the Detect 3D > Compress To option to Disabled:

Steps to reproduce
- Create a WorldEnvironment node with a new Environment resource.
- Edit the Environment resource to add a PanoramaSkyMaterial to its background sky property.
- Load an
.hdrimage within the PanoramaSkyMaterial’s Panorama property. - The image will be detected as being used in 3D (check console output) and editor will freeze.
Minimal reproduction project
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (15 by maintainers)
It sounds like this issue is a result of using the BPTC format for HDR textures. So the editor isn’t really freezing, it just takes a long time to load because the BPTC compression is so slow. We have two broad options here: