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

Package: AR Foundation

-

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"

Comments (1)

  1. oa918595

    Aug 17, 2023 03:15

    Hi

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.