Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2021.1.0a2
Issue ID
1289876
Regression
Yes
[Camera] CullingMask Inspector throws an IndexOutOfRangeException when layer 31 is in use
Steps:
1. Create a new 3D project
2. Select anything, in Inspector > layers > add a layer at index 31
3. In hierarchy, select MainCamera
4. In Inspector > Culling Mask > click to show dropdown
Observe:
IndexOutOfRangeException is thrown repeatedly in console.
Expectation:
No errors are thrown in console.
Reproducable in: 2021.1.0a2.727
Not Reproducable in: 2020.2.0a15.1993, 2021.1.0a1
-
danilo_unity17
May 23, 2023 13:49
Issue is still here in 2022.2.19f
-
LukeDawn
May 06, 2023 16:07
The error happens whenever a layer mask is clicked in the inspector. The bug is a pain, as it stops any further saving of the dirty asset. Particularly annoying with light baking when you want lights to illuminate specific layers only.
-
LukeDawn
May 06, 2023 16:05
Bug still exits in 2022.2.14
-
Cheo6
Feb 19, 2023 09:08
This issue is still here in 2022.2, including in the latest version 2022.2.7f1.
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
- [Quest] Materials are not rendering in Player when "Single Pass Instanced \ Multi-View" is selected and "Surface Type" is set to "Transparent"
- Hair master stack shader on hair is blown out when there is a backlit light on it
- [Editor] Profiler (Standalone Process) "Live" button is greyed out by default
- UIToolkit bindings on RadioButtonGroup is not displaying the selected radio button when the choice list is bound
- Multiple Video Players are not playing simultaneously when played in WebGL
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a10