# Editor crash in change of using variable type in blueprint

**URL:** <https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200>\
**Category:** Editor Scripting\
**Tags:** editor-crash, editor-crash-on-laun, Variable, unreal-engine, Blueprint, question\
**Created:** [June 3, 2020, 6:19pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200 "2020-06-03T18:19:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jse140591](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jse140591](https://forums.unrealengine.com/u/jse140591)\
**Post date:** [June 3, 2020, 6:19pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/1 "2020-06-03T18:19:52Z")

</div>

Hello everyone.

I made a type change in a variable (Color → LinearColor) that I was already using in some nodes in a blueprint. When saving and compiling, the editor crashed.

Now, when trying to open the editor, it is always showing the error below and closing:

Assertion failed: Tag.Size == Loaded [File: D: / Build / ++ UE4 + Licensee / Sync / Engine / Source / Runtime / CoreUObject / Private / UObject / Class.cpp] [Line: 1478]

I can open the editor, removing the specific blueprint, but trying to return it and open it the editor closes again.

Thanks for all.

---

<div class="post-metadata">

**Author:** ![VRHere](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VRHere](https://forums.unrealengine.com/u/VRHere)\
**Post date:** [June 9, 2020, 5:19pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/2 "2020-06-09T17:19:51Z")

</div>

I have the same issue, but editor crashes on each startup of the project, making it impossible for me to access it now in order to make reverse it.

---

<div class="post-metadata">

**Author:** ![jse140591](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jse140591](https://forums.unrealengine.com/u/jse140591)\
**Post date:** [June 9, 2020, 5:36pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/3 "2020-06-09T17:36:56Z")

</div>

Hello,

I removed the bp that caused the error and then recreated it.

Try this, remove the specific blueprint, with error via windows explorer.

---

<div class="post-metadata">

**Author:** ![Vekien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vekien](https://forums.unrealengine.com/u/Vekien)\
**Post date:** [September 15, 2020, 11:37pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/4 "2020-09-15T23:37:56Z")

</div>

This happens **ALL THE TIME,** like 99% of my change variables crashes the editor, I’m so tired of this crash…

---

<div class="post-metadata">

**Author:** ![DarkWave0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkWave0](https://forums.unrealengine.com/u/DarkWave0)\
**Post date:** [April 14, 2021, 4:09pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/5 "2021-04-14T16:09:34Z")

</div>

Solution: Remove the file of the BP (should be _.uasset_ files) you were working on, and any foliage actors that use that BP if you were working on that. Thanks to jse140591

my story:  
I went to the project’s folder in file explorer, and in the content folder i removed the .uasset file belonging to the BP i was working on when the engine first crashed. This didn’t work for me, because i was also using this BP in a foliage actor, so when i removed that foliage actor the project started again. phew lads. Thanks for suggesting that. made me try again, and probably saved me a lot of time.

- Removing (backup first if you try) the intermediate, saved, build, and binaries folder, and letting the engine rebuild the project did NOT work.
- Downloading the debug symbols for a more elaborate crash error didn’t provide any useful information to me

---

<div class="post-metadata">

**Author:** ![Vekien](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vekien](https://forums.unrealengine.com/u/Vekien)\
**Post date:** [April 14, 2021, 4:15pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/6 "2021-04-14T16:15:02Z")

</div>

This isn’t really a solution to the general issue.

The solution boils down to “Remove all references to Variable before changing it’s type”

If you change a variable that is in-use outside the blueprint the editor will crash 100% of the time, even more so if you have any of those blueprints up in another tab. So this means if you do change variables you either have to:

- Work your way back and remove every instance, change the variable, and re-write all instances back up
- Make a whole new variable, switch over all uses, delete old variable.

The bug is the UE4 keeps it all in memory and if you change something it has trouble retroactively updating other files.

The same applys to deleting a variable.

---

<div class="post-metadata">

**Author:** ![DarkWave0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkWave0](https://forums.unrealengine.com/u/DarkWave0)\
**Post date:** [April 14, 2021, 5:40pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200/7 "2021-04-14T17:40:28Z")

</div>

I think people being able to open their project and continue working is priority #1 when they google and find this page. Fixing the bug in ue4 is probably not their focus.
