'How to fix "assertion failed" in Unreal Engine 4.11
After Building the Fresh source and Running the Fresh Install of UE_4.11.0 it loads 100% and the new project is created 100% but while loading the project to 99% it crashes with the error.
LOG: Assertion failed: !bSrcDepthWrite || bDstDepthWrite [D:\UE4.11.0\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Commands.cpp [Line:715]
Source Code of D3D11Commands.cpp
void FD3D11DynamicRHI::ValidateExclusiveDepthStencilAccess(FExclusiveDepthStencil RequestedAccess) const
{
const bool bSrcDepthWrite = RequestedAccess.IsDepthWrite();
const bool bSrcStencilWrite = RequestedAccess.IsStencilWrite();
if (bSrcDepthWrite || bSrcStencilWrite)
{
// New Rule: You have to call SetRenderTarget[s]() before
ensure(CurrentDepthTexture);
const bool bDstDepthWrite = CurrentDSVAccessType.IsDepthWrite();
const bool bDstStencilWrite = CurrentDSVAccessType.IsStencilWrite();
// requested access is not possible, fix SetRenderTarget EExclusiveDepthStencil or request a different one
check(!bSrcDepthWrite || bDstDepthWrite); // Line: 715
check(!bSrcStencilWrite || bDstStencilWrite);
}
}
Solution 1:[1]
Need delete all from directorey C:\Users\UserName\AppData\Local\UnrealEngine\EngineVersion
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Misanthrope |
