Search Issue Tracker
Fixed in 10.x
Votes
0
Found in [Package]
8.2.0.
Issue ID
1263045
Regression
No
[HDRP] A game object can only be in one layer error on disabling Same Layer checkbox in Emission under AreaLight Settings
A game object can only be in one layer error on disabling "Same Layer" checkbox in Emission under AreaLight Settings.
Steps to repro:
1. Create a new HDRP template project
2. Hierarchy > "+" > Light > Area Light > Inspector.
3. Emission > Click on "More Option" Cogwheel.
4. Enable "Display Emissive Mesh" checkbox.
5. Enable & Disable "Same Layer" checkbox.
Actual Result:
A game object can only be in one layer error in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a18, 2020.1.0b16 with 8.2.0.
Working Fine in:
2020.2.0a18 With Package Version 9.0.0-preview.33.
Environment:
Occurring on Windows 10 & Mac 10.15.
Note: Same Layer option is not available in 8.1.0
Stack trace:
A game object can only be in one layer. The layer needs to be in the range [0...31]
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
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 warnings are thrown when creating a new material
- The type selector in the UI Builder does not display primitive types when trying to select one in the "Select Type…" window
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
Resolution Note (fix version 10.x):
Fixed in: Package version: 10.1.0