GridMap renders 3D meshes as solid black with "Compatibility" renderer #74111
Description
Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.
Godot version
v4.0.rc6.official
System information
Linux kernel 5.15. Driver: Mesa 22.3.1. Godot renderer: compatibility
Issue description
When using Compatibility renderer in Godot 4.0, GridMap doesn't render 3D meshesh correctly: they are rendered as completely black. And what is interesting is that they are rendered correctly while editing before a 3D mesh is actually placed.
See the video below:
gridmap_bug.mp4
The renderers "Forward+" and "Mobile" don't have this issue.
Also, this issue was mentioned by other users in Godot Discord (for example, here)
Steps to reproduce
Create new project with "Compatibility" renderer.
Create a simple 3D scene (with lights, etc.) and put GridMap node on it.
Create new MeshLibrary with some 3D meshesh.
Start editing GridMap. Notice when placing 3D meshesh on it, they are rendered correctly until they are placed. One they are placed, they are rendered as completely black.
Activity