You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 10, Forward+, NVIDIA GeForce GTX 1050 Ti (31.0.15.1694)
Issue description
Possibly linked to #59699, but I am making a new issue because I have a minimal reproduction project, and steps to create a fresh project that will trigger the error.
With specific project settings, a draw call in _draw as well as a shader with specific uniforms; the project will either throw lots of errors, or outright crash Windows and corrupting the project in the process.
Errors when Windows does not crash:
E 0:00:01:0015 VulkanContext::swap_buffers: Condition "err" is true. Returning: ERR_CANT_CREATE
<C++ Source> drivers\vulkan\vulkan_context.cpp:2299 @ VulkanContext::swap_buffers()
E 0:00:01:0016 VulkanContext::prepare_buffers: Vulkan: Did not create swapchain successfully.
<C++ Error> Condition "err != VK_SUCCESS" is true. Breaking.
<C++ Source> drivers\vulkan\vulkan_context.cpp:2222 @ VulkanContext::prepare_buffers()
Windows stop code when crashing (I have not noted down which file was mentioned in the crash, but can probably get it if requested): DRIVER_IRQL_NOT_LESS_OR_EQUAL
Steps to reproduce
Main Scene
extendsNode2Dfunc_draw():
# any draw function will produce errorsdraw_circle(Vector2.ZERO, 100, Color.WHITE)
Attach a Sprite2D to Main Scene
Give it the Godot icon texture
Give it a ShaderMaterial with the following shader (no need to set the uniforms):
Open project settings, toggle advanced settings and make the following edits (These changes are just my example of what will trigger the error, but I don't know the range of values that will trigger it)
I did some new test on v4.1.1.stable.mono.official [bd6af8e]
Both a new project following the instructions, as well as the MRP did not cause any errors or crashes.
I then retested on the build I used in the OP: v4.0.beta.custom_build [f382a2b]
This time around the MRP did not cause any errors or crashes. I don't know why.
The only thing that I know is different on my computer compared to the time of the OP, would be a newer graphics driver (NVIDIA GeForce GTX 1050 Ti (31.0.15.3179)), and Windows patches I suppose; but that is harder to compare, as nothing was logged at the time of the OP.
Godot version
v4.0.beta.custom_build [f382a2b]
System information
Windows 10, Forward+, NVIDIA GeForce GTX 1050 Ti (31.0.15.1694)
Issue description
Possibly linked to #59699, but I am making a new issue because I have a minimal reproduction project, and steps to create a fresh project that will trigger the error.
With specific project settings, a draw call in
_draw
as well as a shader with specific uniforms; the project will either throw lots of errors, or outright crash Windows and corrupting the project in the process.Errors when Windows does not crash:
Windows stop code when crashing (I have not noted down which file was mentioned in the crash, but can probably get it if requested):
DRIVER_IRQL_NOT_LESS_OR_EQUAL
Steps to reproduce
Minimal reproduction project
Project built in the same way as mentioned in steps-to-reproduce, which if run, will throw errors or crash Windows on my pc.
buffer_error.zip
The text was updated successfully, but these errors were encountered: