# UNREAL ENGINE FREEZES WHEN I GO TO EXPORT/BAKE ANIMATION

**URL:** <https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628>\
**Category:** Character & Animation\
**Tags:** unreal-engine, crash, bug-report, editor, question\
**Created:** [March 3, 2023, 5:09am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628 "2023-03-03T05:09:13Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [May 22, 2023, 3:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/21 "2023-05-22T15:56:01Z")

</div>

Still the same nightmare with 5.2 …  
now when i right-clic and try to save to sequence asset : it does the same thing : freeze/crash.

---

<div class="post-metadata">

**Author:** ![hmihalis1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hmihalis1](https://forums.unrealengine.com/u/hmihalis1)\
**Post date:** [May 23, 2023, 7:51am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/22 "2023-05-23T07:51:38Z")

</div>

can anyone else confirm if this works? which engine version build did you download and are there any steps out there to help a non programmer build from source?

EDIT: can confirm after 10 hours of downloading and compiling that this in fact did work for me !!

---

<div class="post-metadata">

**Author:** ![hmihalis1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hmihalis1](https://forums.unrealengine.com/u/hmihalis1)\
**Post date:** [May 23, 2023, 7:35pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/24 "2023-05-23T19:35:30Z")

</div>

> [@ThunderLuna157](#):
>
> Sleep(8);

so like this?

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/7/d67fcae5b5cba3ef17b722392da5052103d3dfc9.jpeg)

and at the top:

 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/4/ae4dc05d63a3a4bb9811ad360c318d5503d25d86.jpeg)

I used “” instead of \<\> because that seemed to be what the other lines were doing… will just try and build now i guess.

---

<div class="post-metadata">

**Author:** ![ThunderLuna157](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThunderLuna157](https://forums.unrealengine.com/u/ThunderLuna157)\
**Post date:** [May 25, 2023, 7:42pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/25 "2023-05-25T19:42:46Z")

</div>

Windows.h was already included indirectly in this cpp,so #include \<Windows.h\> is not needed.

---

<div class="post-metadata">

**Author:** ![MadScientistUA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MadScientistUA](https://forums.unrealengine.com/u/MadScientistUA)\
**Post date:** [May 28, 2023, 4:20pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/26 "2023-05-28T16:20:22Z")

</div>

So is this issue specifically related to dx12? Is there an option to switch to a different graphics interface like dx11 or vulkan to avoid compiling UE from sources?

Edit: Hm, switching RHI from directx12 to vulkan in project settings seems to fix it for me, still testing though

---

<div class="post-metadata">

**Author:** ![italox1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/italox1/32/630335_2.png) [@italox1](https://forums.unrealengine.com/u/italox1)\
**Post date:** [June 7, 2023, 6:20pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/27 "2023-06-07T18:20:03Z")

</div>

Change to Vulkan worked for me too!

---

<div class="post-metadata">

**Author:** ![devDoer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devDoer](https://forums.unrealengine.com/u/devDoer)\
**Post date:** [June 8, 2023, 1:53pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/28 "2023-06-08T13:53:59Z")

</div>

Yes, changing to Vulkan worked for me as well. After I create the animations I need, I switch back to DX 12 and the animation assets work.  
Thanks to the one who purposed the idea !

---

<div class="post-metadata">

**Author:** ![italox1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/italox1/32/630335_2.png) [@italox1](https://forums.unrealengine.com/u/italox1)\
**Post date:** [June 10, 2023, 4:47pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/29 "2023-06-10T16:47:18Z")

</div>

You can create another project with the Vulkan Settings and your “Main Project” as DirectX12, and when you finish the animation, easily migrate de animation asset.

---

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [June 12, 2023, 1:13pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/30 "2023-06-12T13:13:07Z")

</div>

tried the vulkan trick … it’s way slower for me, and i couldn’t even run my project, some out of memory stuff at launch …

---

<div class="post-metadata">

**Author:** ![MadScientistUA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MadScientistUA](https://forums.unrealengine.com/u/MadScientistUA)\
**Post date:** [June 17, 2023, 8:13am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/31 "2023-06-17T08:13:06Z")

</div>

You can also use DX 11, it works for me as well and is way faster than vulkan. Idk why but vulkan is really slow in blueprint viewports with lighting enabled but the main scene viewport is fine

---

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [June 17, 2023, 1:40pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/32 "2023-06-17T13:40:28Z")

</div>

Yeah i don’t if it’s because of 5.2 strata patch or not, but with dx11, i get huge faulty refraction & volume smoke effects … a big no no for my project.

---

<div class="post-metadata">

**Author:** ![SkiTheSequel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SkiTheSequel](https://forums.unrealengine.com/u/SkiTheSequel)\
**Post date:** [June 24, 2023, 4:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/33 "2023-06-24T16:56:14Z")

</div>

This kept happening to me but it finally worked when I shortened the file name I was trying to save the bake as. Hope this helps! 🙂

---

<div class="post-metadata">

**Author:** ![iouzzr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iouzzr](https://forums.unrealengine.com/u/iouzzr)\
**Post date:** [June 25, 2023, 3:12am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/34 "2023-06-25T03:12:30Z")

</div>

I think Epic solved this issue in 5.2.1(not in 5.2.0). UE didn’t freeze when baking animation sequence. You can have a test.

---

<div class="post-metadata">

**Author:** ![Gabriel\_Paiva\_H](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gabriel_paiva_h/32/465774_2.png) [@Gabriel\_Paiva\_H](https://forums.unrealengine.com/u/Gabriel_Paiva_H)\
**Post date:** [June 25, 2023, 5:16pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/35 "2023-06-25T17:16:30Z")

</div>

Is not solved, how not everyone has this issue?

---

<div class="post-metadata">

**Author:** ![Gulith421](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gulith421](https://forums.unrealengine.com/u/Gulith421)\
**Post date:** [July 20, 2023, 1:01pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/36 "2023-07-20T13:01:30Z")

</div>

yes i noticed that to : when it crash, you relaunch and try it again with another name and it will usually work (run as admin too)

---

<div class="post-metadata">

**Author:** ![LsLyric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LsLyric](https://forums.unrealengine.com/u/LsLyric)\
**Post date:** [July 24, 2023, 7:18am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/37 "2023-07-24T07:18:09Z")

</div>

you use vulkan instead DX12, and try again

---

<div class="post-metadata">

**Author:** ![LsLyric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LsLyric](https://forums.unrealengine.com/u/LsLyric)\
**Post date:** [July 24, 2023, 7:18am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/38 "2023-07-24T07:18:14Z")

</div>

if you use DX12, it change Vulkan in the Project Setting. and restart unreal . after try again

---

<div class="post-metadata">

**Author:** ![LsLyric](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LsLyric](https://forums.unrealengine.com/u/LsLyric)\
**Post date:** [July 24, 2023, 7:18am UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/39 "2023-07-24T07:18:32Z")

</div>

If you use DX12, it change to Vulcan in main project settings. It will work after Restart.

---

<div class="post-metadata">

**Author:** ![keatz555](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@keatz555](https://forums.unrealengine.com/u/keatz555)\
**Post date:** [August 21, 2023, 7:03pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/40 "2023-08-21T19:03:02Z")

</div>

I’m running w/ NVIDIA GeForce RTX 4090 on Windows 11, and building from source + modifying `D3D12Viewport.cpp` fixed things for me

---

<div class="post-metadata">

**Author:** ![jimimmsss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimimmsss](https://forums.unrealengine.com/u/jimimmsss)\
**Post date:** [August 22, 2023, 3:14pm UTC](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628/41 "2023-08-22T15:14:48Z")

</div>

Changed driver to 528, no fix.  
is there any solution?  
running 5.2.1 still freeze.  
thank you

[Previous page](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628.md?page=1)

[Next page](https://forums.unrealengine.com/t/unreal-engine-freezes-when-i-go-to-export-bake-animation/782628.md?page=3)
