Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Godot4.1 crash #80159

Open
zedrun00 opened this issue Aug 2, 2023 · 1 comment
Open

Godot4.1 crash #80159

zedrun00 opened this issue Aug 2, 2023 · 1 comment

Comments

@zedrun00
Copy link

zedrun00 commented Aug 2, 2023

Godot version

v4.1.1.stable.custom_build (9921126f40fe5e1c521f569a847ff0dd3cc0f6e6)

System information

win10 21H2,Vulkan API 1.2.0

Issue description

Crash will occur after minimizing godot and looking at other windows. Wait for 10min ~ 45min.
Crashed many times just today. I added 2 plugins. I don't know if it relevant.
https://github.com/godotengine/godot/pull/77104
https://github.com/EIRTeam/EIRTeam.FFmpeg/

ERROR: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
        loader_get_json: Failed to open JSON file C:\Program Files (x86)\WeGame\apps\Cross\Core\Stable\CrossVulkanLayer64.json
        Objects - 1
                Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 1199617115248
   at: VulkanContext::_debug_messenger_callback (drivers\vulkan\vulkan_context.cpp:267)
ERROR: GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
        loader_get_json: Failed to open JSON file D:\Program Files (x86)\WeGame\apps\Cross\Core\Stable\CrossVulkanLayer64.json
        Objects - 1
                Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 1199617115248
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.1.1.stable.custom_build (9921126f40fe5e1c521f569a847ff0dd3cc0f6e6)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] <couldn't map PC to fn name>
[1] <couldn't map PC to fn name>
[2] VulkanContext::prepare_buffers (C:\godot\src\godot\drivers\vulkan\vulkan_context.cpp:2264)
[3] RenderingDeviceVulkan::prepare_screen_for_drawing (C:\godot\src\godot\drivers\vulkan\rendering_device_vulkan.cpp:8759)
[4] RendererCompositorRD::prepare_for_blitting_render_targets (C:\godot\src\godot\servers\rendering\renderer_rd\renderer_compositor_rd.cpp:38)
[5] RendererViewport::draw_viewports (C:\godot\src\godot\servers\rendering\renderer_viewport.cpp:775)
[6] RenderingServerDefault::_draw (C:\godot\src\godot\servers\rendering\rendering_server_default.cpp:92)
[7] RenderingServerDefault::draw (C:\godot\src\godot\servers\rendering\rendering_server_default.cpp:399)
[8] Main::iteration (C:\godot\src\godot\main\main.cpp:3437)
[9] OS_Windows::run (C:\godot\src\godot\platform\windows\os_windows.cpp:1479)
[10] widechar_main (C:\godot\src\godot\platform\windows\godot_windows.cpp:182)
[11] _main (C:\godot\src\godot\platform\windows\godot_windows.cpp:204)
[12] main (C:\godot\src\godot\platform\windows\godot_windows.cpp:218)
[13] WinMain (C:\godot\src\godot\platform\windows\godot_windows.cpp:232)
[14] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[15] <couldn't map PC to fn name>
-- END OF BACKTRACE --

Steps to reproduce

Crash will occur after minimizing godot and looking at other windows. Wait for 10min ~ 45min.

Minimal reproduction project

rebase pull77104 in v4.1.1
minitest.zip

@molingyu
Copy link

loader_get_json: Failed to open JSON file C:\Program Files (x86)\WeGame\apps\Cross\Core\Stable\CrossVulkanLayer64.json

For this and similar wegame-related errors, you need to delete the wegame-related CrossVulkanLayer64.json item under HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\ImplicitLayers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants