Developer Notes

We are currently looking for a way to reproduce this crash. If you are experiencing this crash and can provide repro steps or a test project, please create a new thread on the Answerhub’s Bug Reports section and reference this ticket.

Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences. Descriptions from users are provided below.

Error message:

Access violation - code c0000005 (first/second chance not available)

Source Context:

  177       
  178       template< class T >
  179       FORCEINLINE T* ExactCast( UObject* Src )
  180       {
  181       	return Src && (Src->GetClass() == T::StaticClass()) ? (T*)Src : nullptr;
  182       }
  183       
  184       #if DO_CHECK
  185       
  186       	template <typename To, typename From>
  187       	To* CastChecked(From* Src, ECastCheckedType::Type CheckType)
  188       	{
  189       		if (Src)
  190       		{
  191 ***** 			To* Result = Cast<To>(Src);
  192       			if (!Result)
  193       			{
  194       				CastLogError(*Cast<UObject>(Src)->GetFullName(), *GetTypeName<To>());
  195       			}
  196       
  197       			return Result;
  198       		}
  199       
  200       		if (CheckType == ECastCheckedType::NullChecked)
  201       		{
  202       			CastLogError(TEXT("nullptr"), *GetTypeName<To>());
  203       		}
  204       
  205       		return nullptr;
  206       	}

Most recent user affected CL: 3095848

Logs:
[Link Removed]
[Link Removed]
[Link Removed]


CrashReporter User Descriptions:

  • crashed during material compiling
  • Was simply following the Introduction to Materials videwo tutorial n.4. Was combining nodes in blueprints when crashed
Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_MaterialEditor!CastChecked<UMaterialGraphNode,UEdGraphNode>() [casts.h:192]
UE4Editor_MaterialEditor!FMatExpressionPreview::NotifyCompilationFinished() [materialeditor.cpp:168]
UE4Editor_Engine!FShaderCompilingManager::ProcessCompiledShaderMaps() [shadercompiler.cpp:1652]
UE4Editor_Engine!FShaderCompilingManager::ProcessAsyncResults() [shadercompiler.cpp:2078]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2784]
UE4Editor!GuardedMain() [launch.cpp:148]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-35362 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions4.104.114.124.13
Target Fix4.14
Fix Commit3118005
Main Commit3133983
Release Commit3159180
CreatedAug 31, 2016
ResolvedSep 8, 2016
UpdatedNov 2, 2021
View Jira Issue