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

Package: Scriptable Render Pipeline HD

-

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&)

  1. Resolution Note (fix version 10.x):

    Fixed in: Package version: 10.1.0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.