arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

[Bug] [IN-17625] AREnvironmentProbeManager.OnDestroy triggers application crash

Open Phantomxm2021 opened this issue 3 years ago • 3 comments

Describe the bug

Instantiate a game object with an AREnvironment prob component and destroys it. Then loading other scenes (without AR)...

Bump, crash.

NullReferenceException: Object reference not set to an instance of an object.
  at UnityEngine.XR.ARFoundation.AREnvironmentProbeManager.OnDestroy () [0x00000] in <00000000000000000000000000000000>:0 

Smartphone (please complete the following information):

  • Device: iPhone13 pro max
  • OS: 15.6.1
  • Unity version: Unity 2021.3.8f1
  • ARFoundation version: 5.0.0-pre.13

Phantomxm2021 avatar Aug 31 '22 09:08 Phantomxm2021

Please file an official bug and link the number so we can get it. https://unity3d.com/unity/qa/bug-reporting

DavidMohrhardt avatar Sep 20 '22 23:09 DavidMohrhardt

Please file an official bug and link the number so we can get it. https://unity3d.com/unity/qa/bug-reporting

bug case id: IN-17625

Phantomxm2021 avatar Sep 24 '22 05:09 Phantomxm2021

Thank you!

DavidMohrhardt avatar Sep 26 '22 14:09 DavidMohrhardt

Fixed in 5.0.7: https://docs.unity3d.com/Packages/[email protected]/changelog/CHANGELOG.html

andyb-unity avatar Sep 28 '23 19:09 andyb-unity