# Sync Folder in Content Browser (Perforce) Crashes Editor

**URL:** <https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630>\
**Category:** Platform & Builds\
**Tags:** syncing, UE4-17, unreal-engine, crash, bug-report, Perforce, question\
**Created:** [August 23, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630 "2017-08-23T14:40:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![evarest](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evarest](https://forums.unrealengine.com/u/evarest)\
**Post date:** [August 23, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/1 "2017-08-23T14:40:07Z")

</div>

link textWe installed Perforce and integrated it with Unreal Engine. All is working well, except when I try to use the Sync feature of Unreal. If I do, the Editor crashes.

I am using UE 4.17.1 with Perforce (P4Admin/NTX64/2017.2/1535556).

This is the log file:

```
LoginId:7c58ee9249a8c7d883968880d14e2701
EpicAccountId:bf376a806847450484f7d213a76d7916

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

UE4Editor_UnrealEd!PackageTools::ReloadPackages() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\packagetools.cpp:577]
UE4Editor_UnrealEd!PackageTools::ReloadPackages() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\unrealed\private\packagetools.cpp:424]
UE4Editor_ContentBrowser!ContentBrowserUtils::SyncPathsFromSourceControl() [d:\build\++ue4+release-4.17+compile\sync\engine\source\editor\contentbrowser\private\contentbrowserutils.cpp:2129]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<1,FPathContextMenu,0,TTypeWrapper<void> __cdecl(void)>::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_ContentBrowser!TBaseSPMethodDelegateInstance<1,FPathContextMenu,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:434]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1051]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1002]
UE4Editor_Slate!TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void)__ptr64>::operator()<>() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface.h:165]
UE4Editor_Slate!UE4Tuple_Private::TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter<TMemberFunctionCaller<SMenuEntryBlock,FReply (__cdecl SMenuEntryBlock::*)(void)__ptr64> >() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\templates\tuple.h:497]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:327]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:537]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:282]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:399]
UE4Editor_Slate!<lambda_1002768c627006711ef2f351a87ec0e7>::operator()() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5199]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_1002768c627006711ef2f351a87ec0e7> >() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:232]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5188]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5690]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5670]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1718]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:2161]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:881]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:721]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:1009]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3151]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launch.cpp:166]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

```

I can sync using the P4V interface, but in Unreal I keep getting this error. I upgraded to the latest version of P4V without success…

In attachment you find the full Crash Report including the log files.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [August 24, 2017, 6:23pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/2 "2017-08-24T18:23:10Z")

</div>

Hello Evarest,

Have you tried adding a new project (based off one of our templates so that there is something on the Content folder) to your Perforce depot to see if it occurs there as well? If this only occurs in your project, how large is your project? How big is the folder that you’re trying to sync when this happens? Have you tried syncing smaller folders or single assets?

---

<div class="post-metadata">

**Author:** ![evarest](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evarest](https://forums.unrealengine.com/u/evarest)\
**Post date:** [August 25, 2017, 12:53pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/3 "2017-08-25T12:53:28Z")

</div>

Thanks Matthew for your reply!

We have this problem with a VR template based project. We did some minor changes before we started using Perforce. It basically is the VR Template…

The project itself is only 900mb, not big at all. I tried with syncing just indiv files and still the error happened.

Given that we are under pressure in time, and have to work remote, we decided to go for now for SVN. I did however test to sync using the P4V interface. That did work. It seems like there is some issue with the Sync button in the Editor…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [August 25, 2017, 2:37pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/4 "2017-08-25T14:37:21Z")

</div>

The odd part is that I sync through the editor on a daily basis, when testing different issues, and have not had any issues. From looking at the log, you seem to be attempting to sync a lot of files that do not already exist in the project. The in-editor sync tools are meant to sync changes made to files that already exist and could be running into problems trying to add new assets, as the issue is related to an access violation. The logs mention attempting to load a map prior to the crash happening. It’s possible that it is trying to load a map that references assets that have not yet been synced.

---

<div class="post-metadata">

**Author:** ![evarest](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evarest](https://forums.unrealengine.com/u/evarest)\
**Post date:** [August 28, 2017, 5:06pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/5 "2017-08-28T17:06:25Z")

</div>

We now ported all the versioning to Subversion using TortoiseSVN. However, the crashing still happens.

We did however find some pattern in the crashes. When we select all the folders manually in the content browser, we can right-click and click Sync. When we do the same but just right-click on the top folder (Content) and select Sync, it crashes.

We do have 1 folder that we did not put in the SVN: StarterContent. We made sure that all other files and folders are there. We also kept the BuiltData files in SVN (which I assume should not be there).

For now, we fix it with selecting all the folders in the content browser. At least that seems not to give problems 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [September 29, 2017, 6:27pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/6 "2017-09-29T18:27:45Z")

</div>

Hello Evarest, I cannot think of another way to fix this, as it does seem like it was related to trying to sync too many things at once, so I believe that fix will have to suffice.

---

<div class="post-metadata">

**Author:** ![Dylan\_RRC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dylan\_RRC](https://forums.unrealengine.com/u/Dylan_RRC)\
**Post date:** [April 5, 2023, 4:52pm UTC](https://forums.unrealengine.com/t/sync-folder-in-content-browser-perforce-crashes-editor/402630/7 "2023-04-05T16:52:17Z")

</div>

Finding the same issue in 5.1. Selecting and syncing all folders did not work. Crash trace is:

Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x00007ffc00014343

UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_CoreUObject  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_Kismet  
UnrealEditor\_Kismet  
UnrealEditor\_Kismet  
UnrealEditor\_Kismet  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_CoreUObject  
UnrealEditor\_UnrealEd  
UnrealEditor\_UnrealEd  
UnrealEditor\_AssetTools  
UnrealEditor\_ContentBrowserAssetDataSource  
UnrealEditor\_ContentBrowserAssetDataSource  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_Slate  
UnrealEditor\_ApplicationCore  
UnrealEditor\_ApplicationCore  
UnrealEditor\_ApplicationCore  
UnrealEditor\_ApplicationCore  
user32  
user32  
UnrealEditor\_ApplicationCore  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
kernel32  
ntdll
