Download

Rendering SceneCapture 2d which are attached to 1 Player to two different Slate windows

Hey Guys,

as base for my project i used this example:

Its working fine so far. But when i add a moveable pawn to this or try to reuse code and blueprints in another Project which has a moveable pawn it crashes.

What is Strange about this, is that it works in selected Viewport and new edtior window simulation mode.

But thats not what i want to achieve.

When I launch the Game it crashes with an unknown error.

When I simulate it as Standalone i get at least an Error:

MachineId:D165A14245E295B57553139E6757DF5A
EpicAccountId:94d36aaae9814c67ad59c168c3ae0c37

Assertion failed: CurrentShadingPath < EShadingPath::Num [File:d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\PostProcess/SceneRenderTargets.h] [Line: 714]

UE4Editor_Core!FDebug::AssertFailed() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\misc\outputdevice.cpp:430]
UE4Editor_Renderer!FSceneRenderTargets::GetSceneColorForCurrentShadingPath() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\renderer\private\postprocess\scenerendertargets.h:714]
UE4Editor_Renderer!FSceneTextureShaderParameters::Set<FRHIPixelShader * ptr64,FRHICommandList>() [d:\buildfarm\buildmachine++ue4+release-4.11\engine\source\runtime\renderer\private\postprocess\scenerendertargets.cpp:2289]
UE4Editor_Renderer!FDeferredPixelShaderParameters::Set<FRHIPixelShader * ptr64,FRHICommandList>() [d:\buildfarm\buildmachine++ue4+release-4.11\engine\source\runtime\renderer\private\postprocess\scenerendertargets.cpp:2442]
UE4Editor_Renderer!FMaterialShader::SetParameters<FRHIPixelShader * ptr64>() [d:\buildfarm\buildmachine++ue4+release-4.11\engine\source\runtime\renderer\private\shaderbaseclasses.cpp:305]
UE4Editor_SlateRHIRenderer!FSlateMaterialShaderPS::SetParameters() [d:\buildfarm\buildmachine
++ue4+release-4.11\engine\source\runtime\slaterhirenderer\private\slatematerialshader.cpp:118]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderingPolicy::DrawElements() [d:\buildfarm\buildmachine
++ue4+release-4.11\engine\source\runtime\slaterhirenderer\private\slaterhirenderingpolicy.cpp:561]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindow_RenderThread() [d:\buildfarm\buildmachine
++ue4+release-4.11\engine\source\runtime\slaterhirenderer\private\slaterhirenderer.cpp:459]
UE4Editor_SlateRHIRenderer!TGraphTask<FSlateRHIRenderer::DrawWindows_Private'::32’::EURCMacro_SlateDrawWindowsCommand>::ExecuteTask() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\public\async askgraphinterfaces.h:886]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\async askgraph.cpp:779]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\async askgraph.cpp:526]
UE4Editor_RenderCore!RenderingThreadMain() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\rendercore\private\renderingthread.cpp:310]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\rendercore\private\renderingthread.cpp:417]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++ue4+release-4.11\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

Also when i try to launch it i get this warning:

MapCheck:Warning: Warning CameraTest_1340 SceneCaptureComponent2D /Game/Maps/TestLevel.TestLevel:PersistentLevel.CameraTest_1340.SceneCaptureComponent2D : Externally referenced
MapCheck:Warning: Warning MyPlayer_278 SkeletalMeshComponent /Game/Maps/TestLevel.TestLevel:PersistentLevel.MyPlayer_278.CharacterMesh0 : Externally referenced

He asks me of that every time before i launch it. Whats this about? Could this be responsible for my error?

I hope somebody know about this issue cause i am standing under time pressure and i am not that into that rendering stuff by now.

Thanks in Advance

Kefka