Search Issue Tracker
Fixed
Fixed in 2021.3.38f1, 2022.3.25f1, 2023.2.18f1, 6000.0.0b13
Votes
4
Found in
2021.3.34f1
2022.3.19f1
2023.2.8f1
2023.3.0b5
6000.0.0b11
Issue ID
UUM-62507
Regression
Yes
“Renderer.sortingLayer”, “Renderer.sortingLayerID” and “Renderer.sortingLayerName” is set to “default”, “0” and “<unknown layer>” when adding a “Canvas” Component to a prefab in Prefab Mode
How to reproduce:
1. Open the user’s attached “CanvasTest.zip” project
2. Open “TestPrefab” Prefab in the prefab mode
3. In the Inspector window, add the “Canvas” Component and press the “Save” button
4. Observe the “Sorting Layer”, “Sorting Layer ID,” and “Sorting Layer Name” fields
Expected result: “Sorting Layer” is “TestLayer1”, “Sorting Layer ID” is “-387114033” and “Sorting Layer Name” is “TestLayer1”
Actual result: “Sorting Layer” is “Default”, “Sorting Layer ID” 0, and “Sorting Layer Name” is “<unknown layer>”
Reproducible with: 2021.3.21f1, 2021.3.34f1, 2022.3.19f1, 2023.2.8f1, 2023.3.0b5
Not reproducible with: 2021.3.20f1
Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested
Note: sometimes it’s needed to wait a bit for fields to update
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
- Crash on ProfilerMutexLock when closing a project with specific Assets
- “Callback unregistration failed. Callback not registered.” is thrown when changing layouts with two "Font Asset Creator" windows docked
Add comment