godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.5k stars 21.26k forks source link

Rendering box mesh crashes the editor #91916

Open RebornOfc opened 6 months ago

RebornOfc commented 6 months ago

Tested versions

Godot v4.2.2.stable - Android

System information

Godot v4.2.2.stable - Android - GLES3 (Compatibility) - PowerVR B-Series BXM-8-256 - (8 Threads)

Issue description

When trying to set mesh instance to box mesh while on gl compatibility, the editor crashes.

Steps to reproduce

  1. Create project on gl compatibility mode
  2. Create mesh instance node
  3. Try to set box mesh
  4. Crash: Screenshot_20240513-141853

Minimal reproduction project (MRP)

Puzzle.zip

Ignore missing scene message.

clayjohn commented 6 months ago

I can't reproduce when testing with a Pixel 4

Maybe @joined72 can take a look

joined72 commented 6 months ago

@clayjohn I cannot reproduce it on my devices.

Alex2782 commented 6 months ago

maybe only PowerVR / Mediatek

89011

85647

Bildschirmfoto 2024-05-19 um 02 19 49

In the Playstore device database there are 4550 out of 17427 devices with Imagination Tech GPU.

matheusmdx commented 4 months ago

I tested with my redmi 7 and wasn't able to replicate the crash. Just to be sure, your MeshInstance node has any custom value in extra_cull_margin property? Because i already reported a bug that crash godot when extra_cull_margin is different from zero with MeshInstance (and seems that other nodes derivated from GeometryInstance3D also crash with that like Sprite3D) https://github.com/godotengine/godot/issues/92615#issuecomment-2143777081