All of this started when I updated my Intel UHD Graphics driver. After editing in a 3D scene for a while, Godot will immediately crash on me with error of
ERROR: Vulkan: Cannot submit graphics queue. Error code: VK_ERROR_DEVICE_LOST
in the console logs. When it crashes sometimes it would say it 3 times only, or keep saying it until I close it.
After updating my graphics driver, my Godot (was in v4.1.2) kept crashing with said error with a blend file warning & a OpenGL (in v3.0) invalid cache pipeline warning when opening project. So I:
I suppose there's no more warnings now, just error upon even 3 seconds into editing a 3D scene.
Note that starting a new project will cause the same issue just with the blend file warning, since it immediately starts rendering in 3D.
Nevermind it just seemed to fixed it itself after installing an update for my driver from Lenovo via device manager (my laptop is a Lenovo) instead of installing an update directly from Intel.
Also the engine build configuration was restored back to default so there's that.