问题描述
构建完新鲜源并运行UE_4.11.0的全新安装后,它将加载100%,并创建了100%的新项目,但是在将项目加载到99%时,它崩溃并显示错误。
LOG:断言失败:!bSrcDepthWrite || bDstDepthWrite [D:\ UE4.11.0 \ Engine \ Source \ Runtime \ Windows \ D3D11RHI \ Private \ D3D11Commands.cpp [Line:715]
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);
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)