Uranium
Uranium copied to clipboard
Failed to open a shared resource
LoginId:b0343d7141c0edda999d67b1e073121a EpicAccountId:f42f4c4a90b6400fbbf9e24b2530b48a
Unhandled Exception: 0x80000003
UnrealEditor_Uranium!HrFail_Impl() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\Uranium\Private\SharedTexture\D3DErrorHandling.h:44] UnrealEditor_Uranium!UD3D11ImGfxCtx::OnAcceleratedPaint() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\Uranium\Private\SharedTexture\D3D11\D3D11ImGfxCtx.cpp:88] UnrealEditor_Uranium!UD3D12SharedTexture::OnAcceleratedPaint() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\Uranium\Private\SharedTexture\D3D12\D3D12SharedTexture.cpp:86] UnrealEditor_Uranium!UUrDefaultRenderResourceHandler::OnAcceleratedPaint() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\Uranium\Private\Handlers\UrDefaultRenderHandler.cpp:23] UnrealEditor_Uranium!ICefRenderHandler::OnAcceleratedPaint() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\Uranium\Private\Handlers\UrRenderHandler.cpp:79] UnrealEditor_Uranium!`anonymous namespace'::render_handler_on_accelerated_paint() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\ThirdParty\CEF\Win64\85.0.4183.121.ST\libcef_dll\cpptoc\render_handler_cpptoc.cc:323] libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef libcef UnrealEditor_Uranium!UDefaultUraniumContext::MessageLoop() [D:\PerforceWorkspace\BountyHunters\Plugins\Uranium\Source\Uranium\Private\DefaultUraniumContext.cpp:62] UnrealEditor_Uranium!std::threаd::_Invoke<std::tuple<std::_Binder<std::_Unforced,void (__cdecl UDefaultUraniumContext::)(void),UDefaultUraniumContext> >,0>() [C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\INCLUDE\thread:56] ucrtbase kernel32 ntdll
We fingered that exception generating in D3D11ImGfxCtx.h file. Line 87
HRESULT hr = Device1->OpenSharedResource1(static_cast<HANDLE>(handle), IID_PPV_ARGS(&sharedResource));
I have no idea what can be wrong. Maybe because I have a notebook with two video cards... This is my stupid guess.
He "has a laptop with both iGPU and GPU" Seems like functions sort of "D3D11CreateDevice" use iGPU instead GPU couse nullptr has been used instead of IDXGIAdapter*.
I have fixed D3D11 (I'll pull request soon) but I still working on D3D11on12CreateDevice.
pls let me know if you have fixed it, thx
Hi! thanks for the report, and much thanks for the PR! Current public state of Uranium is not very healthy, I have a massive re-rewrite in private company repository, which also among many-many other things has fixed this issue. I don't know yet though when I'll have time to properly publish that thing.
Hi, any update on the rewrite?