when I call RHILockStructuredBuffer to read data from UAV after execute computeshader over. Editor will crush.
it will occur when Editor Lanuch with DX12. I debug the code and found, it will check(IsInRenderingThread && !GRHIThreadID). but ,if in RenderingThread, GRHIThreadID is always > 0. because, DX12 supports RHIThread.
the bool variable GRHISupportsRHIThread in D3D12RHI.cpp file is always true, so Engine will allocate ID for RenderingThread.I am sure this is a Bug for UE. please check this question, thank you.
Hello,
We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.
https://epicsupport.force.com/unrealengine/s/
Thanks