0a12 has an issue with skybox Shader Graphs that use cubemaps while Allow Material Overrides (or Cast Shadows) is enabled in the Graph Settings dialog.
Previously (0a11), neither of these settings had any apparent effect. While a skybox shader will probably never need shadows or overrides enabled (i.e. this isn’t necessarily a “bug”), I wasn’t initially aware of what caused things to break during upgrade from 0a11 to 0a12, so …yeah, if issues like this arise for anyone else it’s easy to solve.
For repro, a new project with the 3D (URP) template.
- Add any cubemap asset to the project.
- Replicate this graph (URP, Unlit) and assign it to a material.
- Select the material and assign the cubemap to it in the Inspector.
- Assign the material to Skybox Material under Lighting->Environment settings.
- Look around in Scene.
Normal result (0a11):
Broken result (0a12, if either property is enabled):
The issue can be worked around by making sure both Allow Material Overrides and Cast Shadows are unchecked in the Shader Graph Editor.
Additional notes:
- both 0a11 and 0a12 are using the same version of URP (14.0.2).
- does not happen if the material is assigned to an object (for example a sphere).
- does not happen in builds, only the editor (confirmed for WebGL and Windows 10 64).
- probably occurs regardless of Graphics API (tested DirectX11 and OpenGLES3).