How to reproduce:
1. Open the “ReproMainLightNode“ project
2. Open the “TestScene“
3. Open the “ExampleShader“ shader in the Shader Graph window
4. Observe the “Main Preview“ in the Shader Graph window and the “TestObject“ GameObject in the Scene view
Expected result: The Main Light Direction is out-putting the light direction, and the “TestObject“ and “Main Preview“ display light distribution
Actual result: The Main Light Direction is not out-putting the light direction, and the “TestObject“ and “Main Preview“ don’t display light distribution
Reproducible with: 2022.3.44f1, 6000.0.17f1
Could not test with: 2021.3.43f1 (Main Light Direction Node is not present)
Reproducible on: macOS 14.5 (Intel), Windows 10 (User’s)
Not reproducible on: No other environments tested
Notes:
- Works as expected with URP (have not tested the HDRP), only the built-in render pipeline has the issue
- Reproducible in the Player