Search Issue Tracker
Fixed in 2021.3.14f1
Fixed in 2021.3.X, 2022.1.X, 2022.1.19f1
Votes
0
Found in
2021.3.6f1
2022.1.14f1
Issue ID
UUM-11907
Regression
No
Unity 2021.3 / ARF 5.0-pre.12 layout-specific graphics driver crash on Intel MacBook Pro
Synopsis
Using the Menu scene from the ARF Samples project with the following configuration, the Editor crashes upon entering XR Simulation mode if one of the included Editor window layout files is used. However, a similar layout file is also included; this one enables XR Sim mode to occur without crashing.
This crash repros consistently, though sometimes the Unity Bug Reporter appears and sometimes it does not.
This crash does not occur using Unity 2022.2.0b1. It also does not occur on Mac M1.
This crash occurs in pre.12 and pre.13.
See screenshots below, and native stack trace in Editor.log attached.
How to See the Bug
Download the two Editor windows layout files (with .wlt extension); see attached.
Download v5.0.0-pre.12 or v5.0.0-pre.13 version of the ARF Samples project that is located at the AR Foundation Samples Github page and open it in Unity 2021.3.
Load the Menu scene (located at Assets/Scenes/ARFoundationMenu/Menu.unity).
Use the Layout button in the top right corner of the Editor to load crashes.wlt.
Press the Play button to enter XR Simulation mode.
Unity crashes; this is the bug.
If you repeat these steps except you load works.wlt instead, then you can enter XR Sim mode without crashing.
Configuration
Unity 2021.3.6f1
ARF 5.0.0-pre.12
ARF Samples project, Menu scene with custom layout
Built In RP
Intel MacBook Pro (15-inch, 2019)
MacOS 12.4
Layout Screenshots
This layout crashes:
!Crashes.png|height=600!
This layout works:
!Works.png|height=600!
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 2022.1):
Closing bug. I have verified that this crash does not occur using:
Intel MacBook Pro (15-inch, 2019)
MacOS 12.4
Unity 2022.1.19f1
AR Foundation 5.0.0-pre.13
Built in RP
AR Foundation Samples, Menu and Simple AR scenes
crashes.wlt layout
Resolution Note (fix version 2021.3):
Crash does not occur using internal build leading up to Unity 2021.3.14f1.