NativeRenderingPlugin
NativeRenderingPlugin copied to clipboard
Hook_vkCreateInstance always crash in NVSDK_NGX_Parameter_SetD3d11Resource
The following forum also reported this.
https://discussions.unity.com/t/why-does-intercept-vulkan-vkcreateinstance-crash/921997
Any thought?
Just found the solution https://discussions.unity.com/t/enabling-vk_khr_draw_indirect_count-in-vulkan/777505/6 The function Hook_vkGetInstanceProcAddr should return vkGetInstanceProcAddr(device, funcName); in the end.