Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Open the Lighting window (Window > Rendering > Lighting)
- Open the Environment tab in the Lighting window
- Change the Source property to "Custom" under the Environment Reflections
- Select any of the default 2D textures
- Change the Source property back to "Skybox" under the Environment Reflections
- Enable/Disable Fog a few times under the Other Settings
- Observe the Console window
Actual results: “RenderSettings customReflection texture has invalid type” is thrown every time Fog is enabled/disabled even when the Environment Reflections Source is already switched back to Skybox and the Custom property should not matter any more as it's not being used
Expected results: No errors are thrown
Reproducible with versions: 6000.0.60f1, 6000.2.8f1, 6000.3.0b6, 6000.4.0a2
Tested on (OS): MacOS Silicon Sequoia 15.6.1
Notes:
- Restarting the Editor does not fix the issue, the error is being thrown instantly once the Project/Editor is loaded