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

0 paths to root, after UnloadUnusedAssets and GC.Collect? #13

Open
omgitsraven opened this issue May 3, 2023 · 1 comment
Open

0 paths to root, after UnloadUnusedAssets and GC.Collect? #13

omgitsraven opened this issue May 3, 2023 · 1 comment

Comments

@omgitsraven
Copy link

I'm trying to track down the path to root for an asset that's not being garbage collected; I've used Heap Explorer's "paths to root" feature to do this successfully on this same project in the past, but now, when I try, it claims "0 paths to root" for the asset. I've definitely called Resources.UnloadUnusedAssets and GC.Collect since unloading the scene that originally contained the lingering asset; what could it mean for an asset to still be in memory after unloading unused and garbage collecting, despite zero paths to root? Is this a bug or am I misunderstanding something?

@arturaz
Copy link

arturaz commented Aug 13, 2023

See my fork, that might fix your problem: #12

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