Search Issue Tracker
Fixed in 4.2.2, 5.0.0-pre.4
Votes
0
Found in [Package]
4.1.7
Issue ID
1360784
Regression
No
ARF Mesh Manager trying to access subsystem after shutdown
I'm implementing a mesh subsystem provider to run in the editor. On exiting play mode I get these errors:
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
UnityEngine.XR.XRMeshSubsystem.TryGetMeshInfos (System.Collections.Generic.List`1[T] meshInfosOut) (at /Users/bokken/buildslave/unity/build/Modules/XR/Subsystems/Meshing/XRMeshSubsystem.bindings.cs:204)
UnityEngine.XR.ARFoundation.ARMeshManager.UpdateMeshInfos () (at Library/PackageCache/com.unity.xr.arfoundation@4.1.7/Runtime/AR/ARMeshManager.cs:343)
UnityEngine.XR.ARFoundation.ARMeshManager.Update () (at Library/PackageCache/com.unity.xr.arfoundation@4.1.7/Runtime/AR/ARMeshManager.cs:251)
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
UnityEngine.XR.ARFoundation.ARMeshManager.OnDisable () (at Library/PackageCache/com.unity.xr.arfoundation@4.1.7/Runtime/AR/ARMeshManager.cs:380)
My subsystem has already been shutdown but the mesh manager is still trying to access it.
Reproduced in both 2019.4.29f1 and 2021.1.17f1 with ARF 4.1.7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment