Hello,
I am using UE 4.15 on macOS 10.12.3 when I am tying to build my project
it crashes on 60% - with the following Asserts
[2017.02.17-20.11.32:933][282]TextureStreamingBuild:Display:
Compiling optional shaders took 0.333
seconds. Assertion failed:
IsValidRef(GBufferResourcesUniformBuffer)
[File:Runtime/Renderer/Private/PostProcess/SceneRenderTargets.h]
[Line: 446] GBuffer required but not
available. Failure often caused by
incorrect custom code use in a post
processing material.
The project was working perfectly today at 4.14.3.
Same project builds compiles and works perfectly on a Windows machine with the 4.15.0!
Edit
Considering the fact that the very same project works perfectly on a same Engine version on Windows platform I tend to think that it is some sort of a bug.
I am not making anything platform specific + I am not making any custom post processing.
- It would be helpful to know which exact material causing the crash - so I maybe can work it round.
Edit
Attaching Log files.
link text
Please advice!
Roma.
Crash Log:
SEGV_MAPERR at 0x3
FGenericPlatformMisc::RaiseException(unsigned
int) Address = 0x100bc844b (filename
not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t
const*, ELogVerbosity::Type, FName
const&) Address = 0x100d8d2d8
(filename not found) [in
UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*,
...) Address = 0x100e6f197 (filename
not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char
const*, int, wchar_t const*, ...)
Address = 0x100de8196 (filename not
found) [in UE4Editor-Core.dylib]
FSceneRenderTargets::GetGBufferResourcesUniformBuffer()
const Address = 0x110f82525 (filename
not found) [in
UE4Editor-Renderer.dylib] void
FDeferredPixelShaderParameters::Set(FRHICommandList&,
FRHIPixelShader*, FSceneView const&,
ESceneRenderTargetsMode::Type) const
Address = 0x110f864b2 (filename not
found) [in UE4Editor-Renderer.dylib]
void
FMaterialShader::SetParameters(FRHICommandList&,
FRHIPixelShader*, FMaterialRenderProxy
const*, FMaterial const&, FSceneView
const&, TUniformBufferRef const&,
bool, ESceneRenderTargetsMode::Type)
Address = 0x11118dd98 (filename not
found) [in UE4Editor-Renderer.dylib]
TBasePassPixelShaderPolicyParamType::SetParameters(FRHICommandList&,
FMaterialRenderProxy const*, FMaterial
const&, FViewInfo const*, EBlendMode,
bool, ESceneRenderTargetsMode::Type,
bool, bool) Address = 0x110b69a6f
(filename not found) [in
UE4Editor-Renderer.dylib]
TBasePassDrawingPolicy::SetSharedState(FRHICommandList&,
FViewInfo const*,
FMeshDrawingPolicy::ContextDataType,
FDrawingPolicyRenderState const&,
bool) const Address = 0x110b6868a
(filename not found) [in
UE4Editor-Renderer.dylib] void
FDrawTranslucentMeshAction::Process(FRHICommandList&,
FProcessBasePassMeshParameters const&,
FUniformLightMapPolicy const&,
FUniformLightMapPolicy::ElementDataType
const&) Address = 0x1112b3541
(filename not found) [in
UE4Editor-Renderer.dylib] void
ProcessBasePassMesh(FRHICommandList&,
FProcessBasePassMeshParameters const&,
FDrawTranslucentMeshAction&&) Address
= 0x111267e63 (filename not found) [in UE4Editor-Renderer.dylib]
FTranslucencyDrawingPolicyFactory::DrawMesh(FRHICommandList&,
FViewInfo const&,
FTranslucencyDrawingPolicyFactory::ContextType,
FMeshBatch const&, unsigned long long
const&, FDrawingPolicyRenderState
const&, bool, FPrimitiveSceneProxy
const*, FHitProxyId) Address =
0x111266860 (filename not found) [in
UE4Editor-Renderer.dylib]
FTranslucencyDrawingPolicyFactory::DrawDynamicMesh(FRHICommandList&,
FViewInfo const&,
FTranslucencyDrawingPolicyFactory::ContextType,
FMeshBatch const&, bool,
FDrawingPolicyRenderState const&,
FPrimitiveSceneProxy const*,
FHitProxyId) Address = 0x11126809a
(filename not found) [in
UE4Editor-Renderer.dylib]
FRendererModule::DrawTileMesh(FRHICommandListImmediate&,
FSceneView const&, FMeshBatch const&,
bool, FHitProxyId const&) Address =
0x11106bd2b (filename not found) [in
UE4Editor-Renderer.dylib]
FMeshMaterialRenderItem::RenderMaterial(FRHICommandListImmediate&,
FSceneView const&,
FMeshMaterialRenderItem::FRenderData&)
Address = 0x10f73f597 (filename not
found) [in
UE4Editor-MaterialUtilities.dylib]
FMeshMaterialRenderItem::Render_GameThread(FCanvas
const*)::EURCMacro_DrawMaterialCommand::DoTask(ENamedThreads::Type,
TRefCountPtr const&) Address =
0x10f74679e (filename not found) [in
UE4Editor-MaterialUtilities.dylib]
FMeshMaterialRenderItem::Render_GameThread(FCanvas
const*) Address = 0x10f73ec76
(filename not found) [in
UE4Editor-MaterialUtilities.dylib]
FCanvas::Flush_GameThread(bool)
Address = 0x10383512f (filename not
found) [in UE4Editor-Engine.dylib]
FMeshRenderer::RenderMaterialTexCoordScales(FMaterialMergeData&,
FMaterialRenderProxy*,
UTextureRenderTarget2D*, TArray&)
Address = 0x10f73554c (filename not
found) [in
UE4Editor-MaterialUtilities.dylib]
FMaterialUtilities::ExportMaterialUVDensities(UMaterialInterface*,
EMaterialQualityLevel::Type,
ERHIFeatureLevel::Type,
FMaterialUtilities::FExportErrorManager&)
Address = 0x10f7334d8 (filename not
found) [in
UE4Editor-MaterialUtilities.dylib]
FEditorBuildUtils::EditorBuildTextureStreaming(UWorld*,
EViewModeIndex) Address = 0x108384585
(filename not found) [in
UE4Editor-UnrealEd.dylib]
FBuildAllHandler::ProcessBuild(TWeakPtr
const&) Address = 0x1083831cc
(filename not found) [in
UE4Editor-UnrealEd.dylib]
FBuildAllHandler::StartBuild(UWorld*,
FName, TWeakPtr const&) Address =
0x108381051 (filename not found) [in
UE4Editor-UnrealEd.dylib]
FEditorBuildUtils::EditorBuild(UWorld*,
FName, bool) Address = 0x10837af12
(filename not found) [in
UE4Editor-UnrealEd.dylib]
TBaseStaticDelegateInstance::ExecuteIfSafe()
const Address = 0x11a6c2677 (filename
not found) [in
UE4Editor-LevelEditor.dylib]
FUICommandList::ExecuteAction(TSharedRef)
const Address = 0x106eda66d (filename
not found) [in UE4Editor-Slate.dylib]
SToolBarButtonBlock::OnClicked()
Address = 0x10701ab9e (filename not
found) [in UE4Editor-Slate.dylib]
TBaseSPMethodDelegateInstance::Execute()
const Address = 0x10709cd31 (filename
not found) [in UE4Editor-Slate.dylib]
SButton::OnMouseButtonUp(FGeometry
const&, FPointerEvent const&) Address
= 0x1070f1f3a (filename not found) [in UE4Editor-Slate.dylib]
FSlateApplication::RoutePointerUpEvent(FWidgetPath&,
FPointerEvent&) Address = 0x106eab06d
(filename not found) [in
UE4Editor-Slate.dylib]
FSlateApplication::ProcessMouseButtonUpEvent(FPointerEvent&)
Address = 0x106e4f1ae (filename not
found) [in UE4Editor-Slate.dylib]
FSlateApplication::OnMouseUp(EMouseButtons::Type,
FVector2D) Address = 0x106eb3b4a
(filename not found) [in
UE4Editor-Slate.dylib]
FMacApplication::ProcessEvent(FDeferredMacEvent
const&) Address = 0x100d23d8f
(filename not found) [in
UE4Editor-Core.dylib]
FMacApplication::ProcessDeferredEvents(float)
Address = 0x100d21d3f (filename not
found) [in UE4Editor-Core.dylib]
FSlateApplication::TickPlatform(float)
Address = 0x106e78ab5 (filename not
found) [in UE4Editor-Slate.dylib]
FSlateApplication::Tick() Address =
0x106e77fab (filename not found) [in
UE4Editor-Slate.dylib]
FEngineLoop::Tick() Address =
0x100ad65fc (filename not found) [in
UE4Editor] GuardedMain(wchar_t const*)
Address = 0x100adcba2 (filename not
found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x100aea53c (filename not
found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x100d19366 (filename not found) [in
UE4Editor-Core.dylib] Unknown()
Address = 0x7fffa4e25c6d (filename not
found) [in Foundation]
_pthread_body Address = 0x7fffb8b6faab (filename not found) [in
libsystem_pthread.dylib]
_pthread_body Address = 0x7fffb8b6f9f7 (filename not found) [in
libsystem_pthread.dylib] thread_start
Address = 0x7fffb8b6f1fd (filename not
found) [in libsystem_pthread.dylib]