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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
Resolution Note (fix version 10.x):
Fixed in: Package version: 10.1.0