You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to use ARCloud anchors to use persistent anchors in my project. I imported the sample projects for persistant anchors but I have an issue that I can't figure out. I keep getting a NullReferenceException when referencing the Session.subsystem. Initially on startup I have a typecast error on line 213 of ARCoreExtensions
Then and object reference error at line 354
Then in reference to the AR session subsystem and SessionHandle()
Last I have object reference errors that continue each frame as it is found in the Update method in the ARCoreExtensionsHandle |
This is happening in both my personal attempts to write a script to handle the hosting, resolving, and placement of the anchors as well as the sample project which I have not changed. I'm also using ARF 5 and have the correct script complication symbol ARCORE_USE_ARF_5. I'm developing for Android. If anyone has found how to fix this that would be greatly appreciated. I feel it is a deprecation that I'm missing and hasn't been updated yet but I am unsure.
The text was updated successfully, but these errors were encountered:
And comment out the few configuration methods that are causing errors.
Even after looking through the official documentation, I couldn't find a similar method. If you have a better opinion, please let me know.
After doing this, the built application worked normally. Hope this can help you.
Thank you.
I've been trying to use ARCloud anchors to use persistent anchors in my project. I imported the sample projects for persistant anchors but I have an issue that I can't figure out. I keep getting a NullReferenceException when referencing the Session.subsystem. Initially on startup I have a typecast error on line 213 of ARCoreExtensions
Then and object reference error at line 354
Then in reference to the AR session subsystem and SessionHandle()
Last I have object reference errors that continue each frame as it is found in the Update method in the ARCoreExtensionsHandle
|
This is happening in both my personal attempts to write a script to handle the hosting, resolving, and placement of the anchors as well as the sample project which I have not changed. I'm also using ARF 5 and have the correct script complication symbol ARCORE_USE_ARF_5. I'm developing for Android. If anyone has found how to fix this that would be greatly appreciated. I feel it is a deprecation that I'm missing and hasn't been updated yet but I am unsure.
The text was updated successfully, but these errors were encountered: