First Issue :
if I put directional light inside the subscene , ambient light will be missing from the editor's play mode and the player.
steps to reproduce :
1. open the project from here
2.open scene Issue1
3.enter play mode and notice the lighting is missing the game view
notes :
1.the behavior is same for both entities and gameobjects
2.it only happens when directional light is inside the subscene
3.it wont happen if there is a directional light in the scene and outside the subscene
4.pressing generate lighting in rendering>lighting will fix the issue
Wrong result:
Expected result :
Second Issue:
max distance for cascade shadows is different when directional light baked inside the subscene compare to when it is baked outside
steps to reproduce:
1.open scene Issue2 in the same project
2.bake the lights and toggle the subscene. You see with closed subscene some shadows are missing
3.move the directional light out side the subscene and bake the lights again , You will see all the shadows are visible.
notes: max distance field on the shadow section of URP-HighFidelity asset seems to affect this issue (increasing the value fixes the issue)
Wrong result (directional light baked inside subscene):
Expected result (directional light baked outside the subscene):
editor version :
2022.2.3f1.112.8045
Revision: 2022.2/staging ebbd359edc27
Built: Sun, 08 Jan 2023 03:16:48 GMT