Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.3f1
2023.1.0a25
2023.2.0a1
Issue ID
UUM-22858
Regression
No
Directional Light inside subscene issues
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:
!image-2023-01-12-15-33-04-779.png|width=225,height=127!
Expected result :
!image-2023-01-12-15-31-48-265.png|width=223,height=126!
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) !image-2023-02-01-13-15-06-664.png|width=400,height=57!
Wrong result (directional light baked inside subscene):
!image-2023-02-01-13-16-24-793.png|width=221,height=126!
Expected result (directional light baked outside the subscene):
!image-2023-02-01-13-17-45-227.png|width=226,height=126!
editor version :
2022.2.3f1.112.8045
Revision: 2022.2/staging ebbd359edc27
Built: Sun, 08 Jan 2023 03:16:48 GMT
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
The first issue described in this bug report is a duplicate of a common workflow error with the SkyManager. This workflow has been removed for 2023.2 and will not be backported.
The second issue described does not relate to baked lighting (but rather to URP's dynamic lighting) and judging from the project and the current state of 2022.3, the code has diverged enough such that this issue is no longer reproducible.