# How to prevent Unreal engine from crashing when submitting to source control?

**URL:** <https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, crash, bug-report, editor, Source-Control, Perforce, question\
**Created:** [June 17, 2023, 4:54am UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896 "2023-06-17T04:54:28Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enlargedhousecat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Enlargedhousecat](https://forums.unrealengine.com/u/Enlargedhousecat)\
**Post date:** [June 17, 2023, 4:54am UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/1 "2023-06-17T04:54:28Z")

</div>

Hello, I am experiencing an issue when using unreal engine with perforce for revision control.

Every time I submit a change to the perforce server my intance of unreal engine crashes. This so far has been the case with Unreal 5.2 and 5.1 but not 4.27  
The files do end up submitting to source control, however Unreal crashes in the process.  
This doesnt seem to happen with other members of my team however as they can submit without causing a crash on their own computers

The files still successfully submit, its is just that UE5 crashes in the process

below are the specs of my computer and a snapshot of the processes in the system monitor.

 ![Taskmgr_fQoZY3wOhj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/8/a28340a49b179133f82a56d2e211f68565dfdb32.png)  
 ![Speccy64_ZuKYccLNSl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/6/f0615d925d45794f6892c3dbdfabd14ff516b4bc.png)

Thank you for all your help

---

<div class="post-metadata">

**Author:** ![Enlargedhousecat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Enlargedhousecat](https://forums.unrealengine.com/u/Enlargedhousecat)\
**Post date:** [June 17, 2023, 5:27pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/2 "2023-06-17T17:27:25Z")

</div>

just tried reinstalling unreal 5.1 and 5.2 and restarting my pc. the issue still remains

---

<div class="post-metadata">

**Author:** ![Enlargedhousecat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Enlargedhousecat](https://forums.unrealengine.com/u/Enlargedhousecat)\
**Post date:** [June 17, 2023, 5:33pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/3 "2023-06-17T17:33:41Z")

</div>

same with reinstalling p4v

---

<div class="post-metadata">

**Author:** ![Enlargedhousecat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Enlargedhousecat](https://forums.unrealengine.com/u/Enlargedhousecat)\
**Post date:** [June 17, 2023, 6:01pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/4 "2023-06-17T18:01:59Z")

</div>

I am still not sure what was at the root of the issue exactly but it must have been something to do with the Graphics drivers in my particular case because the crashing wasnt an issue after updating my GPU drivers with a clean install

---

<div class="post-metadata">

**Author:** ![Scott3730](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Scott3730](https://forums.unrealengine.com/u/Scott3730)\
**Post date:** [June 28, 2023, 12:44pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/5 "2023-06-28T12:44:06Z")

</div>

I’m experiencing this exact same issue. Updating graphics drivers didn’t fix it for me. When I submit changes, the editor freezes indefinitely. The changelist does get submitted properly, but I have to end the editor in task manager almost every time.

---

<div class="post-metadata">

**Author:** ![Serisly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Serisly](https://forums.unrealengine.com/u/Serisly)\
**Post date:** [July 25, 2023, 7:40am UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/6 "2023-07-25T07:40:26Z")

</div>

Anyone got any updates regarding this? My unreal also freezes up when submitting with perforce source control though in P4V interface things work just fine

---

<div class="post-metadata">

**Author:** ![laylayover](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laylayover](https://forums.unrealengine.com/u/laylayover)\
**Post date:** [July 26, 2023, 2:33am UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/7 "2023-07-26T02:33:32Z")

</div>

yeah likewise

---

<div class="post-metadata">

**Author:** ![suppehue1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@suppehue1](https://forums.unrealengine.com/u/suppehue1)\
**Post date:** [October 31, 2023, 10:08am UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/8 "2023-10-31T10:08:31Z")

</div>

I was just about to make a post asking about the same. Currently working on a demo for our indie game, and after we turned on DX12 (decided to due to nanite and lumen stuff), everytime we want to submit to revision control, our Unreal freezes (happening on multiple pcs). We are running UE 5.3.1. The changes do get sumited like with you guys, but yeah… Unreal just permafreezes. Had no issues with this before we went up to DX12.

Did anyone ever figure out a reasoning or a fix for this?

---

<div class="post-metadata">

**Author:** ![Gylden\_Drage](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gylden_drage/32/1116379_2.png) [@Gylden\_Drage](https://forums.unrealengine.com/u/Gylden_Drage)\
**Post date:** [November 30, 2023, 9:11pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/9 "2023-11-30T21:11:35Z")

</div>

I am also having this issue. Unreal engine will freeze completely, but most of the time my updates always updates my submission to perforce.

Has anyone found any workarounds or fixes for this as of November 30 2023?

---

<div class="post-metadata">

**Author:** ![nnode3D](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nnode3d/32/1044347_2.png) [@nnode3D](https://forums.unrealengine.com/u/nnode3D)\
**Post date:** [December 17, 2023, 3:54pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/10 "2023-12-17T15:54:48Z")

</div>

I’ve been having the same issue for about 2 months now, but after doing a clean install of the latest NVIDIA drivers like @Enlargedhousecat mentioned, it’s working again. The key thing I guess is doing a clean install, previously I just did the usual express update and the issue persisted afterwards.

---

<div class="post-metadata">

**Author:** ![MythicTy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MythicTy](https://forums.unrealengine.com/u/MythicTy)\
**Post date:** [December 20, 2023, 4:23pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/11 "2023-12-20T16:23:46Z")

</div>

What did you do exactly to do a “clean install”? I tried, by going into the apps in settings and deleting anything related to nvidia drivers, restarting, and then installing the drivers again via GeForce Experience and restarting, and that didn’t fix it for me.

---

<div class="post-metadata">

**Author:** ![nnode3D](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nnode3d/32/1044347_2.png) [@nnode3D](https://forums.unrealengine.com/u/nnode3D)\
**Post date:** [December 23, 2023, 5:44am UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/12 "2023-12-23T05:44:28Z")

</div>

Forgot it’s a bit hidden these days. I’m recalling from memory now, so might be a bit off: when the next driver update drops, don’t use express installation, but rather the other option (I think it’s called custom installation). Once you get your installation options, on the bottom of the window should be a tick box for “clean installation” - just enable this and proceed with the installation. It essentially wipes all your settings and uninstalls the current driver before installing the new driver.

I guess you can also force this process if you don’t want to wait for the next update by just manually uninstalling your current driver and then reinstalling latest via GeForce Experience.

I just can’t figure out how the graphics driver and source control are related. The only thing I can think of is that the revision control tool sends some sort of render freeze to the GPU to freeze the entirety of Unreal while committing content, and then it doesn’t manage to let the GPU release this freeze again after commit is successful…

Anyhow, hope it fixed the issue for you too. 🤞

---

<div class="post-metadata">

**Author:** ![MythicTy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MythicTy](https://forums.unrealengine.com/u/MythicTy)\
**Post date:** [December 24, 2023, 2:36pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/13 "2023-12-24T14:36:18Z")

</div>

Yeah so this didn’t fix it for me. Did a clean reinstall of my drivers and it didn’t work. What I’m thinking is the issue is that I’m currently hosting the Perforce server locally on my machine to test out the software, and that might be causing the software to hang. I’m going to host a server separate from my machine and test it that way and see if it works.

---

<div class="post-metadata">

**Author:** ![SpazmatismLive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SpazmatismLive](https://forums.unrealengine.com/u/SpazmatismLive)\
**Post date:** [April 29, 2024, 6:07pm UTC](https://forums.unrealengine.com/t/how-to-prevent-unreal-engine-from-crashing-when-submitting-to-source-control/1201896/14 "2024-04-29T18:07:20Z")

</div>

I’m having the same issue here with my program freezing right as I submit, but it worked when I updated Windows and did a clean install of NVidia Drivers!
