Unity Issue Tracker - “UnassignedReferenceException” error is thrown when setting an assigned Canvas to active
Closed
UUM-41805
“UnassignedReferenceException” error is thrown when setting an assigned Canvas to active
Unity: uGUI
Won't Fix
2023.2.X
2023.1.X
2022.3.X
2021.3.X
The issue is present in the project itself. To fix this, either remove the PaintSliding script from the PaintFormPanel or assign the DialogCanvas to the PaintFormPanel's PaintSliding Dialog Canvas.
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/HomeExterior.unity” Scene
3. Enter the Play Mode
4. In the Game View, press the “Paint/Siding” Button
5. In the opened “Paint or Siding” tab, press the “Add Paint/Siding” Button
6. Observe the Console Window
Expected result: No error is thrown
Actual result: “UnassignedReferenceException” error is thrown”