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
- Camera prefab shows up in overrides after upgrade when game view is changed to Simulator
- Prefab Override context menu does not appear when changing attributes on a Terrain Component
- Particles are visible through Mesh when Sprite-Lit-Default Material is used
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
Resolution Note (fix version 10.x):
Fixed in: Package version: 10.1.0