Search Issue Tracker
Fixed
Fixed in 5.0.7, 5.1.0-pre.8
Votes
0
Found in [Package]
5.0.5
5.1.0-pre.4
Issue ID
ARFB-271
Regression
No
AR Simulation error on ArSession.Reset - SimulationProvider.CreateVoxelGrids
Steps to reproduce:
1. Open the attached user's project "LulworthExerciseV.zip"
2. Open Scenes > "Test Loader.unity"
3. Check player settings > XR Plugin management to make sure XR Simulation is enabled for the desktop platform
4. Hit play, toggle the debug menu in-game view on the UI canvas
5. Press the AR mode toggle on and off, this button calls ArSession.Reset when enabling AR
6. Check the console for the error
Expected results: no console error
Actual results: AR Simulation error on ArSession.Reset - SimulationProvider.CreateVoxelGrids
Reproducible on: AR Foundation 5.0.5 (2022.2.10f1)
User environment: macOS M1
Notes:
-Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.XR.Simulation.SimulationPlaneSubsystem+SimulationProvider.CreateVoxelGrids () (at ./Library/PackageCache/com.unity.xr.arfoundation@5.0.5/Runtime/Simulation/Subsystems/Plane/SimulationPlaneSubsystem.cs:366)
-A video is attached named ("Screen Recording 2023-03-21 at 9.19.42 am.mov"
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
oa918595
Aug 17, 2023 03:15
Hi