Search Issue Tracker
Duplicate
Votes
0
Found in
5.3.5f1
Issue ID
810894
Regression
No
Area(baked only) doesn't work properly with Culling Mask
Steps to reproduce:
1) Download attached project "BakedLight_And_Layers.zip" and open in Unity.
2) Open scene "TestScene".
3) In Hierarchy tab, check "Sphere_AffectedByBlueLight" and "Sphere_AffectedByRedLight" have different layers.
4) In Hierarchy tab, check "RedLight" and "BlueLight" Culling Masks.
Note: RedLight should lighting "Sphere_AffectedByRedLight" and BlueLight should lighting "Sphere_AffectedByBlueLight".
5) Bake lights.
Note: Both spheres being affected by both lights(see attached image "Lights.png".
Expected results : One sphere should be affected by BlueLight, other sphere by RedLight.
Actual results: Both spheres being affected by both lights.
Reproduced with: 5.2.4f1, 5.3.5p7, 5.4.0b24, 5.5.0a2
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
This is a duplicate of issue #678384