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

Unloading, then Loading cubemap skybox - does not sets it back #6966

Open
Maksims opened this issue Sep 17, 2024 · 0 comments
Open

Unloading, then Loading cubemap skybox - does not sets it back #6966

Maksims opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
area: graphics Graphics related issue bug

Comments

@Maksims
Copy link
Contributor

Maksims commented Sep 17, 2024

If cubemap asset used as a skybox is unloaded, then loaded back and set as a skybox, the subsequent setting will not result in skybox change, and scene skybox will stay black. While scene.envAtlas - is actually set.

Reproduction project: https://playcanvas.com/editor/scene/2072847
test.js - has the reproduction code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

No branches or pull requests

3 participants