Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
1
Found in
2019.4
2020.3
2020.3.12f1
2021.1
2021.2
2022.1
Issue ID
1350059
Regression
No
An error is thrown when the Scene has UI Mask and the Player is run headless
How to reproduce:
1. Open the user's attached "Batchmode_Canvases" project
2. Open the Build Settings (File->Build Settings...)
3. Make sure that the "Main" Scene is included in the Build and Build the project
4. Open the Player with -batchmode and -nographics command (for windows "[path to the player]\Batchmode_Canvases.exe" -batchmode -nographics -logFile logfile.txt)
5. Open the "logfile.txt" (on MacOS this should be printed in the CMD)
Expected results: There's no error
Actual results: There's the "Material Default UI Material doesn't have _Stencil property" error
Reproducible with: 2019.4.29f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0b4, 2022.1.0a2
Note:
- Reproducible on both Windows and MacOS
-
RobG88
May 25, 2022 19:56
Seeing this issue in Unity 2022.1.0f1
-
atsconsultantx
Jul 14, 2021 15:58
Facing same issue
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
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
- ShadowCaster2D breaks on certain Rotation positions when Casting Source is set to PolygonCollider2D
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in Unity 2021.2.0b16
Resolution Note (fix version 2021.1):
Fixed in Unity 2021.1.25f1
Resolution Note (fix version 2020.3):
Fixed in Unity 2020.3.21f1