# DX12 crashes when Forward Rendering + MSAA are enabled

**URL:** <https://forums.unrealengine.com/t/dx12-crashes-when-forward-rendering-msaa-are-enabled/399013>\
**Category:** Rendering\
**Tags:** msaa, Forward-Rendering, unreal-engine, crash, dx12, question\
**Created:** [June 20, 2017, 6:24pm UTC](https://forums.unrealengine.com/t/dx12-crashes-when-forward-rendering-msaa-are-enabled/399013 "2017-06-20T18:24:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f5c78816](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f5c78816](https://forums.unrealengine.com/u/anonymous_user_f5c78816)\
**Post date:** [June 20, 2017, 6:24pm UTC](https://forums.unrealengine.com/t/dx12-crashes-when-forward-rendering-msaa-are-enabled/399013/1 "2017-06-20T18:24:28Z")

</div>

**Build Type** : Binary and source build both exhibit this bug

**Build version** : 4.16.1 - 3466753

**Description of the issue** : Enabling Forward Rendering with MSAA with DX12 enabled causes an instant crash in the editor, caused by the Slate library.

**Repro Steps**

**1**. Create a new project

**2**. Set the project to use Forward Shading/Rendering and use MSAA for antialiasing

**3.** Restart the editor using the -DX12 option to force DirectX 12. The editor should instantly crash. The crash appears to occur most often in FViewport::Draw, although sometimes there are other assertion failures related to viewport rendering. They all appear to be triggered by code in Slate.

**Frequency** : 100%

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [June 23, 2017, 9:39pm UTC](https://forums.unrealengine.com/t/dx12-crashes-when-forward-rendering-msaa-are-enabled/399013/2 "2017-06-23T21:39:34Z")

</div>

Hey pseudoeric0,

I just attempted to reproduce this crash on my end but did reproduce the issue. Could you provide me with your full crash logs and your system’s ‘dxdiag’ so I can gather more information in order to report this crash.

Since I was unable to reproduce the issue on my end, perhaps try updating your GPU to be sure it is not a driver issue.

Let me know if you have further questions.

Cheers,

H.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_094087251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_094087251](https://forums.unrealengine.com/u/anonymous_user_094087251)\
**Post date:** [April 24, 2019, 3:03pm UTC](https://forums.unrealengine.com/t/dx12-crashes-when-forward-rendering-msaa-are-enabled/399013/3 "2019-04-24T15:03:44Z")

</div>

hi pseudoeric0,

I had the same issue when trying to convert an existing project with forwarding rendering and MSAA enabled, the editor would crash on startup from the desktop shortcut with dx12 enabled. I created a youtube video showing this.

It seems to be caused by MSAA and not the forward rendering. changing the AA (Anti-aliasing) to temporal allows me to launch successfully with dx12.

Hope this helps,
