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 crash in Particles3DEmissionShapeGizmoPlugin. #101636

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Jan 16, 2025

Fixes #101611

It was checking validity before casting. So in case get_process_material() returns valid object (ShaderMaterial in case of issue MRP) other than ParticleProcessMaterial check was passed, but mat was null (and dereferenced later).

@bruvzg bruvzg added this to the 4.4 milestone Jan 16, 2025
@bruvzg bruvzg requested a review from a team as a code owner January 16, 2025 13:18
@Repiteo Repiteo merged commit c038696 into godotengine:master Jan 16, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jan 16, 2025

Thanks!

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

Successfully merging this pull request may close these issues.

[4.4-beta1] Loading compute shader on Linux crashes the editor
3 participants