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

How to unload loaded ReferenceObjectLibrary in ARTrackedObjectManager from memory #1176

Open
sibiva opened this issue Apr 26, 2024 · 0 comments
Labels
how to Explains how to accomplish something

Comments

@sibiva
Copy link

sibiva commented Apr 26, 2024

How do I unload loaded ReferenceObjectLibrary in ARTrackedObjectManager from memory, I tried the following methods but none of them worked

  • arSession.Reset()
  • Destroying arreferenceobjectlibrary, assigning new referenceobjectlibrary to artrackedobjectmanager, setting all the references to null
  • unloading the scene which loaded arreferenceobjectlibrary
  • Resources.unloadunusedassets()

this referenceobjectlibrary is taking so much memory at runtime, How to unload this referenceobjectlibrary at runtime?

@sibiva sibiva added the how to Explains how to accomplish something label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
how to Explains how to accomplish something
Projects
None yet
Development

No branches or pull requests

1 participant