This JIRA is being entered as a result of this being one of the top crashes in 4.13 Preview 2
Error message:
Access violation - code c0000005 (first/second chance not available)
Source Context:
2126 CurrentResource->AddReferencedObjects(Collector); 2127 } 2128 } 2129 } 2130 } 2131 2132 Super::AddReferencedObjects(This, Collector); 2133 } 2134 2135 void UMaterialInstance::SetParentInternal(UMaterialInterface* NewParent, bool RecacheShaders) 2136 { 2137 if (!Parent || Parent != NewParent) 2138 { 2139 // Check if the new parent is already an existing child 2140 ***** UMaterialInstance* ParentAsMaterialInstance = Cast<UMaterialInstance>(NewParent); 2141 bool bSetParent = false; 2142 2143 if (ParentAsMaterialInstance != nullptr && ParentAsMaterialInstance->IsChildOf(this)) 2144 { 2145 UE_LOG(LogMaterial, Warning, TEXT("%s is not a valid parent for %s as it is already a child of this material instance."), 2146 *NewParent->GetFullName(), 2147 *GetFullName()); 2148 } 2149 else if (NewParent && 2150 !NewParent->IsA(UMaterial::StaticClass()) && 2151 !NewParent->IsA(UMaterialInstanceConstant::StaticClass())) 2152 { 2153 UE_LOG(LogMaterial, Warning, TEXT("%s is not a valid parent for %s. Only Materials and MaterialInstanceConstants are valid parents for a material instance."), 2154 *NewParent->GetFullName(), 2155 *GetFullName());
Most recent user affected CL: 3088355
Logs:
[Link Removed]
[Link Removed]
[Link Removed]
Load attached project
UE4Editor_Engine!UMaterialInstance::SetParentInternal() [materialinstance.cpp:2141] UE4Editor_Landscape!ULandscapeComponent::UpdateMaterialInstances() [landscapeedit.cpp:299] UE4Editor_Landscape!ULandscapeComponent::PostLoad() [landscape.cpp:574] UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [obj.cpp:810] UE4Editor_CoreUObject!EndLoad() [uobjectglobals.cpp:1553] UE4Editor_CoreUObject!LoadPackageInternalInner() [uobjectglobals.cpp:1228] UE4Editor_CoreUObject!LoadPackage() [uobjectglobals.cpp:1400] UE4Editor_UnrealEd!UEditorEngine::Map_Load() [editorserver.cpp:2399] UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() [editorserver.cpp:5998] UE4Editor_UnrealEd!UEditorEngine::Exec() [editorserver.cpp:5479] UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [unrealedsrv.cpp:624] UE4Editor_UnrealEd!FEditorFileUtils::LoadMap() [filehelpers.cpp:2178] UE4Editor_UnrealEd!FEditorFileUtils::LoadDefaultMapAtStartup() [filehelpers.cpp:3408] UE4Editor_UnrealEd!FUnrealEdMisc::OnInit() [unrealedmisc.cpp:302] UE4Editor_UnrealEd!EditorInit() [unrealed.cpp:89] UE4Editor!GuardedMain() [launch.cpp:140] UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126] UE4Editor!WinMain() [launchwindows.cpp:202] UE4Editor!__scrt_common_main_seh() [exe_common.inl:264] kernel32!BaseThreadInitThunk() ntdll!RtlUserThreadStart()
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - LD & Modeling - Terrain - Landscape |
---|---|
Affects Versions | 4.13 |
Target Fix | 4.13 |
Created | Aug 18, 2016 |
---|---|
Resolved | Aug 19, 2016 |
Updated | Oct 30, 2017 |