Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3
2020.3.9f1
2021.1
2021.2
2022.1
Issue ID
1344326
Regression
No
Crash on UnityEngine.Canvas:GetDefaultCanvasMaterial when entering the Play Mode second time
How to reproduce:
1. Open the attached project “Bugreport.zip”
2. Open the “Loader” Scene
3. Enter Play Mode
4. Navigate to the “Exit Game” tab using the E key
5. Click “Ok” in the Game view
6. Enter Play Mode again
Expected result: Editor exits the Play Mode
Actual result: Editor crashes
Reproducible with: 2020.3.14f1, 2021.1.14f1, 2021.2.0b5, 2022.1.0a2
Could not test with: 2018.4.36f1, 2019.4.28f1 (project breaks when downgrading)
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
The crash is caused by the combobox prefab, by removing the arrow's image the crash is not reproduceable anymore. Removing and re-adding the arrow's image in the combobox prefab would be the solution.