Strange issue. In the following playground, when I programmatically set shadowGenerator.autoCalcShadowZBounds = true; it is not reflected in the Inspector (although other light and shadow settings are) and shadows are also not displayed (indicating it’s not an inspector issue). However when I manually toggle Auto Calc Shadow ZBounds on in the inspector, suddenly the shadows appear as expected.
Why doesn’t programmatically setting this work in this case?
I modified the basic Atmosphere demo playground:
