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

Assertion failed! CModelInfoSA.cpp #3192

Closed
1 task done
Xenius97 opened this issue Sep 22, 2023 · 3 comments · Fixed by #3194
Closed
1 task done

Assertion failed! CModelInfoSA.cpp #3192

Xenius97 opened this issue Sep 22, 2023 · 3 comments · Fixed by #3194
Assignees
Labels
bug Something isn't working

Comments

@Xenius97
Copy link
Contributor

Xenius97 commented Sep 22, 2023

Describe the bug

After using engineRequestTXD and engineSetModelTXDID i get randomly this error and game crashing (disconnect or quit game)

image

Steps to reproduce

Use linked resource from #3153

Version

22195

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@Xenius97 Xenius97 added the bug Something isn't working label Sep 22, 2023
@Xenius97
Copy link
Contributor Author

@TheNormalnij

@botder
Copy link
Member

botder commented Sep 22, 2023

Introduced in commit 3e9a373. @TheNormalnij @Pirulax

@Pirulax
Copy link
Contributor

Pirulax commented Sep 22, 2023

If there's no model info, there's nothing to reset, so I think just adding an if (mi) guard would be enough

@TheNormalnij TheNormalnij self-assigned this Sep 23, 2023
TheNormalnij added a commit to TheNormalnij/mtasa-blue that referenced this issue Sep 23, 2023
botder pushed a commit that referenced this issue Sep 23, 2023
MTABot pushed a commit that referenced this issue Sep 25, 2023
0b6908b breakpad: Fix build error on glibc > 2.33
d431e5e Fix assert when model info is missing (Fixes #3192, PR #3194)
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

Successfully merging a pull request may close this issue.

4 participants