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

uGUI

-

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)

  1. 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.

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.