# UE5.0 crashes when adding a constant 3 vector or texture in a material

**URL:** <https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866>\
**Category:** Asset Creation\
**Tags:** UE5-0, question\
**Created:** [April 10, 2022, 10:17am UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866 "2022-04-10T10:17:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [April 10, 2022, 10:17am UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/1 "2022-04-10T10:17:27Z")

</div>

UE5.0 from the launcher crashes whenever a constant 3 vector or a texture is added in a material. Adding a lerp doesn’t crash UE. Issue is with existing materials and also new materials. Brand new UE5.0 installation (de-installed the upgraded EA to 5.0), RTX2070super, Nvidia driver 512.15, win10pro, 10750H, 32Gb. Default RHI is 12. Tested with converted and new projects - a fresh new 5.0 VRtemplate. Any suggestions what to try next?

Edit: creating a new material in a brand new 3rd person project works fine. So it seems related to VR projects?! See [Unreal Engine 5 Only Crashes With VR Template](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/)

```auto

Assertion failed: CurrentGPUVirtualAddress != 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp] [Line: 729]

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_RHI
UnrealEditor_Renderer
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

```

---

<div class="post-metadata">

**Author:** ![Salvador\_211](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Salvador\_211](https://forums.unrealengine.com/u/Salvador_211)\
**Post date:** [April 14, 2022, 10:21am UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/2 "2022-04-14T10:21:37Z")

</div>

Same for me. Also it crashed when you convert a constant 2 Vector to a parameter.  
You can workaround the issue, at least for colors, using constant 1 or 2 vectors and the append nodes.

---

<div class="post-metadata">

**Author:** ![BeehiveBob](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/beehivebob/32/1059109_2.png) [@BeehiveBob](https://forums.unrealengine.com/u/BeehiveBob)\
**Post date:** [April 19, 2022, 5:09pm UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/3 "2022-04-19T17:09:58Z")

</div>

exact same crash log. When dx12 is enabled I get this when in the material editor.

---

<div class="post-metadata">

**Author:** ![Ragiarc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ragiarc](https://forums.unrealengine.com/u/Ragiarc)\
**Post date:** [April 21, 2022, 5:33pm UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/4 "2022-04-21T17:33:21Z")

</div>

I have the same issue. Crashes when I make a 3 vector. Anyone found any fixes?

---

<div class="post-metadata">

**Author:** ![Joe\_Radak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joe_radak/32/1197589_2.png) [@Joe\_Radak](https://forums.unrealengine.com/u/Joe_Radak)\
**Post date:** [April 21, 2022, 6:12pm UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/5 "2022-04-21T18:12:50Z")

</div>

Hey y’all

If you have any bugs you need to report about the engine, go ahead and [put them in here.](https://epicsupport.force.com/unrealengine/)

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [April 21, 2022, 6:29pm UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/6 "2022-04-21T18:29:34Z")

</div>

this issue is reported a few days ago - see (and vote) here [Unreal Engine Issues and Bug Tracker (UE-148100)](https://issues.unrealengine.com/issue/UE-148100)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_564e571a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_564e571a1](https://forums.unrealengine.com/u/anonymous_user_564e571a1)\
**Post date:** [April 24, 2022, 1:14am UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/7 "2022-04-24T01:14:58Z")

</div>

I reported the bug through the tracker, hope that’s as useful. Curious how something like this issue gets through standard testing practice. Seems to only happen in the VR Template or if you use the Oculus Plugin.

---

<div class="post-metadata">

**Author:** ![Joe\_Radak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joe_radak/32/1197589_2.png) [@Joe\_Radak](https://forums.unrealengine.com/u/Joe_Radak)\
**Post date:** [April 28, 2022, 6:53pm UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/8 "2022-04-28T18:53:59Z")

</div>

I’ve bopped this over to the Asset Creation category - you should get some more answers/responses on it here.

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [April 28, 2022, 6:59pm UTC](https://forums.unrealengine.com/t/ue5-0-crashes-when-adding-a-constant-3-vector-or-texture-in-a-material/522866/9 "2022-04-28T18:59:36Z")

</div>

This issue is already fixed and should go live in 5.0.2
