# Access violation D3D11CreateDevice

**URL:** <https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [January 9, 2016, 6:30pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592 "2016-01-09T18:30:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [January 9, 2016, 6:30pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/1 "2016-01-09T18:30:14Z")

</div>

Hello,

I uninstalled visual studio 2013 pro, and installed 2015 community.

Then I uninstalled UE4 4.9 and installed 4.10 from marketplace.

When I tried to launch engine it crashes immediately.

I uninstalled 4.10 from marketplace and downloaded source code and compiled it with no error, and also it crashes as soon as I run it: “Fatal Error! UE4 Editor will now close”.

I launched engine from visual studio and it led me to an exception as shown in attached image.

4.11 preview 1 has same issue, and 4.9 is not working anymore.

I have a laptop with 24GB RAM, quad core i7, and a GTX 860m.

There is no project, I am just trying to open engine, I am not even getting to create project window.

I reinstalled 2013 professional side by side to community 2015, issue still persists

I also updated my Nvidia driver (clean install), and installed windows 8.1 SDK but nothing have worked so far.

I was able to run it when if select run with Intel HD graphics. But, If run with nvidia gpu, I get Access violation executing D3D11CreateDevice.

I attached DXDIAG.txt file.  
link text

Any ideas?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [January 11, 2016, 7:34pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/2 "2016-01-11T19:34:14Z")

</div>

Hey Night Watcher-

Do you have 4.11 preview through Launcher installed? If so you will need to uninstall prerequisites and then install 4.10. Can you also post full error message when trying to open editor? Are you able to install/run 4.9 or does same issue occur?

Cheers

---

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [January 11, 2016, 10:55pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/3 "2016-01-11T22:55:38Z")

</div>

Well, error message did not give any information at, it crashes at 0% of loading, it is hard for me to provide a screenshot now, but it gave no information about error.  
issue from code is that it was not able to identify GPU.  
If I run UE4 using integrated intel GPU, engines runs fine.  
I was able to make engine run by disabling my integrated GPU, and only then engine was able to recognize nvidia gpu. It is a temporarily fix, and I cannot keep using just dedicated GPU, it kills my battery life.  
I uninstalled multiple engine version and installed new one, and they did not work, not 4.10.2 not 4.11 and not 4.9, even though 4.9 used to work. Only 4.10 was installed from both marketplace and github, all other where installed using marketplace.  
I updated all my drivers, performed clean installation nothing worked.  
My guess is that something on my computer made detect GPU function not work properly, which is first thing engine try to run when it starts

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [January 12, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/4 "2016-01-12T15:04:24Z")

</div>

Hey Night Watcher-

Are you using a GPU switching software such as Nvidia Optimus? If not I would recommend getting this as it will handle switching between graphics cards seamlessly based on software applications running.

> **[NVIDIA Optimus Programming Guide](https://developer.nvidia.com/optimus)**
>
> This document describes the methods that can be used by applications to enable and expose an NVIDIA High Performance Graphics Processor for rendering in an Optimus configuration. Optimus Programming Guide Last updated July 2012.

Cheers

---

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [January 14, 2016, 1:35pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/5 "2016-01-14T13:35:38Z")

</div>

yes I am using Nvidia Optimus, and use to work fine, I’ve been using UE4 since version 1

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [January 15, 2016, 6:14pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/6 "2016-01-15T18:14:24Z")

</div>

Can you tell me if drivers for both cards are up to date? Intel integrated cards have been known to cause freezes/crashes when not using correct driver. There is more information here:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

Please try to manually update Intel drivers manually as described in link and let me know if you still get same error when launching editor.

---

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [January 16, 2016, 2:57am UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/7 "2016-01-16T02:57:57Z")

</div>

I went to intel website and downloaded latest driver fro windows 8.1 for my 4600 HD graphics, and it did not work. Also, why this question has been marked as resolved, when it’s not?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [January 19, 2016, 7:35pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/8 "2016-01-19T19:35:08Z")

</div>

Hi NightWatcher,

It was marked resolved because you used “Answer” section for your comment and when Staff comments on an Answer, it auto-resolves. I’ve converted it to a comment to avoid further confusion.

Anyways, can you send me either a screenshot or text copy of error you are receiving? Is there anything else to error than “Access violation executing D3D11CreateDevice”?

EDIT: Also, what is your Nvidia Driver version (it does not say in dxdiag as current GPU when it was captured was Integrated Graphics)? If it is 361.43, could you revert to 359.06?

---

<div class="post-metadata">

**Author:** ![Night\_Watcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/night_watcher/32/1145400_2.png) [@Night\_Watcher](https://forums.unrealengine.com/u/Night_Watcher)\
**Post date:** [January 21, 2016, 3:18am UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/9 "2016-01-21T03:18:13Z")

</div>

I’m really sorry, but I am currently overloaded with work, and cannot modify my drivers now, I will send you requested information in a few days

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [January 26, 2016, 6:28pm UTC](https://forums.unrealengine.com/t/access-violation-d3d11createdevice/343592/10 "2016-01-26T18:28:09Z")

</div>

Hi Night Watcher,

We haven’t heard back from you in a bit, so I’m resolving this post for tracking purposes. When you get a chance to follow 's recommendations, let us know what happens if you’re still experiencing this problem and we’ll continue assisting. Thanks!
