Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException when quit AR scene while using ARGeospatialAnchor #205

Closed
sgs-fan-jiashen opened this issue Jul 1, 2024 · 2 comments
Assignees

Comments

@sgs-fan-jiashen
Copy link

ARfoundation: Version 5.0.7
Apple ARKit XR Plugin: Version 5.0.7
Unity : 2021.3.31f1

when i quit AR scene it pops up the error below:

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

how can i fix it

@sgs-fan-jiashen
Copy link
Author

sgs-fan-jiashen commented Jul 1, 2024

tried #190 but doesn`t work

@mrichards mrichards self-assigned this Jul 2, 2024
@mrichards
Copy link

I haven't seen this issue. Are you quitting the scene programmatically? Can you provide a code snippet that demonstrates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants