Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Ensure condition failed SceneRenderTargets.cpp] [Line: 2664]

Approximately every half an hour (not regularly), I get such a failure. (I took this from the CrashContext file):

 Ensure condition failed: !SceneColorTextureParameter.IsBound() &amp;&amp; !SceneDepthTextureParameter.IsBound() &amp;&amp; !SceneColorSurfaceParameter.IsBound() &amp;&amp; !SceneDepthSurfaceParameter.IsBound() &amp;&amp; !SceneDepthTextureNonMS.IsBound() &amp;&amp; !SceneStencilTextureParameter.IsBound() 
 [File:D:\Build\++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Renderer\Private\PostProcess\SceneRenderTargets.cpp] [Line: 2664]

Judging by the data this occurs in the function:

 template< typename ShaderRHIParamRef, typename TRHICmdList >
 void FSceneTextureShaderParameters::Set(
     TRHICmdList& RHICmdList,
     const ShaderRHIParamRef& ShaderRHI,
     const FSceneView& View,
     const EDeferredParamStrictness ParamStrictness,
     ESceneRenderTargetsMode::Type TextureMode,
     ESamplerFilter ColorFilter ) const

In this Place:

 else if (ParamStrictness == EDeferredParamStrictness::EStrict)
         //otherwise start throwing failure warnings.
         if (TextureMode == ESceneRenderTargetsMode::DontSet)
             // Verify that none of these were bound if we were told not to set them
                 && !SceneDepthTextureParameter.IsBound()
                 && !SceneColorSurfaceParameter.IsBound()
                 && !SceneDepthSurfaceParameter.IsBound()
                 && !SceneDepthTextureNonMS.IsBound()
                 && !SceneStencilTextureParameter.IsBound());

I do not call this function manually.

The worst thing is that it falls not regularly and not always. And it is very difficult for me to debug it in this case. Need help

Product Version: UE 4.18
more ▼

asked Nov 13 '17 at 09:06 PM in Rendering

avatar image

56 2 5 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I found out what the problem was. You can not use a custom Depth node in the "World Position Offset"

more ▼

answered Nov 18 '17 at 06:22 PM

avatar image

56 2 5 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question