Skip to content

Conversation

@blueskythlikesclouds
Copy link
Contributor

@blueskythlikesclouds blueskythlikesclouds commented Jan 9, 2026

Fixes #112530, at least on the Mali-G76 phone I have.

I was just randomly trying things hoping it shows different behavior and this somehow fixed the crash. Before this, I tried spreading the uniforms to 4 sets to match the old layout, but that was still crashing. It seems specifically only one set fixes it. Unfortunately, I don't have the slightest clue why.

Needs testing to see if it also fixes it for other Mali GPUs.

@DarioSamo
Copy link
Contributor

We're definitely gonna need some more justification or at least some comments linking back to this PR explaining why such a restriction is imposed, since I could easily see someone modifying this back and breaking this hardware in the process.

@blueskythlikesclouds
Copy link
Contributor Author

We're definitely gonna need some more justification or at least some comments linking back to this PR explaining why such a restriction is imposed, since I could easily see someone modifying this back and breaking this hardware in the process.

Done that.

Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workaround seems pretty nice to me.

Let's see if @Alex2782 can confirm that this fixes the crash on his device too

Copy link
Member

@Alex2782 Alex2782 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks good!
On my Chromebook Mali-G52 no crash with this PR.


Galaxy XCover Pro, Mali-G72 (on Firebase Test Lab)

  • mali fix is this PR
  • without label is beta2
Test videos

this PR

web-build_20260110_w2fk_xcoverpro-33-en_US-landscape_video.mp4

Beta 2

The app freezes and crashes (is terminated by Android OS).

web-build_20260110_h7r4_xcoverpro-33-en_US-landscape_video.mp4
Image

@akien-mga akien-mga merged commit 569a36b into godotengine:master Jan 10, 2026
20 checks passed
@akien-mga
Copy link
Member

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.

Android Editor ( Mali-G52): Editor crashes when inspecting a mesh's material in mobile renderer

5 participants