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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment