Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X, 2019.2.X
Votes
0
Found in
2018.3.0b1
2018.3.11f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1165639
Regression
No
[HoloLens] WorldAnchorStore throws an ArgumentNullException when calling Save method
Steps to reproduce:
1. Download attached project
2. Switch platform to UWP and build project
3. Open VS solution and build to HoloLens
4. Wait for 10 seconds
5. Check console
Results: Null exception is trigger when saving WorldAnchorStore.
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
at UnityEngine.XR.WSA.Persistence.WorldAnchorStore.Save (System.String id, UnityEngine.XR.WSA.WorldAnchor anchor) [0x00000] in <00000000000000000000000000000000>:0
at AnchorStoreReloader+<AddAnchorAfterloadoOmpleted>d__12.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.MonoBehaviour.StartCoroutine_Auto (System.Collections.IEnumerator routine) [0x00000] in <00000000000000000000000000000000>:0
at AnchorStoreReloader.Update () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
AnchorStoreReloader:Update()
Reproduced with: 2019.3.0a7, 2019.2.0b8, 2019.1.9f1, 2018.4.3f1
Note:
- reproducible with .NET and Il2CPP backends
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (fix version 2019.3):
Fixed null deref due to dirty singleton instance use.
Resolution Note (fix version 2019.3):
Backport
Resolution Note (fix version 2019.2):
Backport
Resolution Note (fix version 2018.4):
Backport