Search Issue Tracker
By Design
Votes
0
Found in
Issue ID
1283613
Regression
No
[UX] GameObject has empty layer if the layer it had previously was erased
To reproduce:
1. Open any project
2. Create a new layer
3. Assign the layer to any game object
4. Go to Tags & Layers and erase the newly created layer
5. Select your game object and look at the layer
Expected result: layer mask gets back to Default (or any other default value)
Actual result: layer name is empty, no layer is marked as active in the layer dropdown
Reproduced on: 2019.4.12f1, 2020.1.9f1, 2020.2.0b7
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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note:
Current behaviour doesn't break project in cases where layer gets removed by accident or unintentionally (either locally, or when pulling layer removal from vcs) - if layer is removed adding it back to layer list is all that's needed. With proposed behaviour it would require reassigning layer back to all objects that previously had it.