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

Fix for _meshStates.empty() assertion. #1465

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

daleglass
Copy link
Contributor

@daleglass daleglass commented Nov 22, 2021

See the comment in the code for a detailed discussion of the issue. This is
a workaround, but it should be a safe one.

Testing:

It is not known what causes the issue to happen, but it may be related to avatars. It seems to mostly happen at login, or when teleporting into a different region. It seems to happen more often with more avatars in the region.

Look for a warning:

_meshStates has N items when it should have none. Model with URL... in the logs. So far in my testing I've not managed to trigger it, so if it happens during testing please paste the output in a comment. The intention is to make the warning useful enough to locate whatever is having a problem, but I'm not yet sure if the logged information is going to be helpful and/or accurate.

Closes #958

See the comment in the code for a detailed discussion of the issue. This is
a workaround, but it should be a safe one.
@digisomni digisomni added bugfix CR Approved At least one code reviewer has approved the PR. labels Nov 22, 2021
@digisomni digisomni added this to the 2022.1.0 Selene Release milestone Nov 22, 2021
@digisomni digisomni added the needs testing (QA) The PR is ready for testing label Nov 22, 2021
@digisomni digisomni changed the title Fix for _meshStates.empty() assertion Fix for _meshStates.empty() assertion. Nov 23, 2021
@daleglass daleglass merged commit 57167cd into vircadia:master Nov 25, 2021
@digisomni digisomni removed the needs testing (QA) The PR is ready for testing label Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix CR Approved At least one code reviewer has approved the PR.
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Crash due to meshStates.empty() assertion
4 participants