Open J3fflo opened 2 years ago
Possibly we are not responding to a lost GL context, something like that (if it is not a driver / OS problem).
Possibly we are not responding to a lost GL context, something like that (if it is not a driver / OS problem).
Suspend on Linux has always been more finnicky than on Windows or macOS, especially when the proprietary NVIDIA driver is involved. Other OpenGL 3D applications generally don't suffer from this problem though, so it is technically possible to resolve it.
Godot version
3.4.4.stable
System information
Arch Linux with GNOME 41 64-bit, GLES3, AMD Ryzen 5, NVIDIA GeForce GTX 1650 Also, I use X.ORG X11
Issue description
MeshInstances turn black after the computer is restored from suspend. MeshInstance: Simple Cube Mesh Instance
Material definitions (globally):
Albedo color assignment and material override on the main mesh in func _ready:
The issue seems to resolve when you re "play" the scene in godot Expected:
Out of curiosity, I built the project (without debug) and the issue still persists, the only way I could find to fix it was to restart the game (which could be quite irritating)
Side Note: This also occurs on linux with the editor minimap (#58989)
Steps to reproduce
Suspend pc and start it up again (with the game running in godot)
Minimal reproduction project
No response