Description

This Jira was created from CrashReports submitted by the public due to the high number of occurrences.

Error message:

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

Source Context:

 800       
  801       // All unloaded disk assets
  802       for (TMap<FName, FAssetData*>::TConstIterator AssetDataIt(CachedAssetsByObjectPath); AssetDataIt; ++AssetDataIt)
  803       {
  804       const FAssetData* AssetData = AssetDataIt.Value();
  805       
  806       if (AssetData != nullptr)
  807       {
  808       // Make sure the asset's package was not loaded then the object was deleted/renamed
  809       if ( !CachedEmptyPackages.Contains(AssetData->PackageName) )
  810       {
  811       // Make sure the asset is not in memory
  812       if ( !InMemoryObjectPaths.Contains(AssetData->ObjectPath) )
  813       {
  814 ***** OutAssetData.Add(*AssetData);
  815       }
  816       }
  817       }
  818       }
  819       
  820       UE_LOG(LogAssetRegistry, VeryVerbose, TEXT("GetAllAssets completed in %0.4f seconds"), FPlatformTime::Seconds() - GetAllAssetsStartTime);
  821       
  822       return true;
  823       }
  824       
  825       bool FAssetRegistry::GetDependencies(FName PackageName, TArray<FName>& OutDependencies, EAssetRegistryDependencyType::Type InDependencyType, bool bResolveIniStringReferences) const
  826       {
  827       const FDependsNode*const* NodePtr = CachedDependsNodes.Find(PackageName);
  828       const FDependsNode* Node = nullptr;
  829       if (NodePtr != nullptr )

Most recent user affected CL: 3039270

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

Steps to Reproduce

Repro steps unknown

Callstack
UE4Editor_AssetRegistry!FAssetData::FAssetData()
UE4Editor_AssetRegistry!FAssetRegistry::GetAllAssets() [assetregistry.cpp:815]
UE4Editor_UnrealEd!FUnrealEdMisc::TickAssetAnalytics() [unrealedmisc.cpp:591]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1589]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:368]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2775]
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!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.12
Target Fix4.14
CreatedAug 8, 2016
ResolvedDec 6, 2016
UpdatedApr 27, 2018