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

When WebGL device is lost during the creation, we might get an undefined access #5743

Closed
mvaligursky opened this issue Oct 11, 2023 · 0 comments · Fixed by #5744
Closed

When WebGL device is lost during the creation, we might get an undefined access #5743

mvaligursky opened this issue Oct 11, 2023 · 0 comments · Fixed by #5744
Assignees
Labels
area: graphics Graphics related issue bug

Comments

@mvaligursky
Copy link
Contributor

forum thread: https://forum.playcanvas.com/t/after-opening-and-closing-3d-applications-multiple-times-consecutively-the-model-cannot-be-displayed-on-ios17/33374

the actual error:
Screenshot 2023-10-11 at 17 32 05

This seems to take place when the device is lost and the cubemap finishes loading, and we try to prefilter it. The problem is that the device was never successfully created, and so we have some uninitialized data we're trying to access.

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

Successfully merging a pull request may close this issue.

1 participant