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

Crash when calling ResourceRefsMTL::addTexture in WrapperMTL.MM #1607

Open
AmineNac opened this issue Mar 7, 2024 · 1 comment
Open

Crash when calling ResourceRefsMTL::addTexture in WrapperMTL.MM #1607

AmineNac opened this issue Mar 7, 2024 · 1 comment

Comments

@AmineNac
Copy link

AmineNac commented Mar 7, 2024

Crash caused by adding a nil value to sets in WrapperMTL.mm' function:

tex.tex is nil, resulting in a crash when added to textures and texturesToHold.

Screenshot 2024-03-07 at 17 12 22
@sjg-wdw
Copy link
Collaborator

sjg-wdw commented Mar 28, 2024

Strange. I'd say the workaround would be just to check, but there's probably a texture allocation failure earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants