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

Remanent meshes if several models are loaded #16

Open
GANys opened this issue Sep 1, 2020 · 0 comments
Open

Remanent meshes if several models are loaded #16

GANys opened this issue Sep 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@GANys
Copy link
Owner

GANys commented Sep 1, 2020

It looks like some meshes remain after the rendering of a scene consequently of the 0.2.1 CityPicker update.

Works oddly as the cache is empty and scene.children is null.

Solutions tried withotu success :
Array.filter
Array.splice
scene.remove
children = []
Removing all console.log in order to let GC cleaning things
Dispose related Material/Geometry to free memory and let GC cleaning things

Unique working way in prod : F5

@GANys GANys added the bug Something isn't working label Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant