# How do I repair a blueprint that won't compile?

**URL:** <https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895>\
**Category:** Blueprint\
**Tags:** compiler-error, unreal-engine, Blueprint, question\
**Created:** [June 7, 2016, 12:56am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895 "2016-06-07T00:56:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![CyberGolem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberGolem](https://forums.unrealengine.com/u/CyberGolem)\
**Post date:** [June 7, 2016, 12:56am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/1 "2016-06-07T00:56:34Z")

</div>

BP\_DemoRoom won’t compile. I get the following and have no idea how to proceed:

 ![93632-bp_error.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/f/cef7381f928a2fc70f690a8d29758f75b9d8cfb0.jpeg)

---

<div class="post-metadata">

**Author:** ![SithHunter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SithHunter](https://forums.unrealengine.com/u/SithHunter)\
**Post date:** [June 7, 2016, 1:17am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/2 "2016-06-07T01:17:55Z")

</div>

There isn’t anything in the compare nodes to be compared. It won’t compile until you pass some values / variables to those nodes to actually be compared.

---

<div class="post-metadata">

**Author:** ![CyberGolem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberGolem](https://forums.unrealengine.com/u/CyberGolem)\
**Post date:** [June 7, 2016, 1:48am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/3 "2016-06-07T01:48:17Z")

</div>

How is that done? My apologies but I’m very new to UE.

---

<div class="post-metadata">

**Author:** ![Tactical\_Beard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tactical\_Beard](https://forums.unrealengine.com/u/Tactical_Beard)\
**Post date:** [June 7, 2016, 2:07am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/4 "2016-06-07T02:07:37Z")

</div>

Read the error, it’s telling you to connect something to A of type Enum.

In Select Object where it says Select Asset click the little drop menu and select an Enum. You need to do it for A,B and the other A,B not in the picture.

If you, messed it up you can also press ctrl + z to undo.

---

<div class="post-metadata">

**Author:** ![SithHunter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SithHunter](https://forums.unrealengine.com/u/SithHunter)\
**Post date:** [June 7, 2016, 2:17am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/5 "2016-06-07T02:17:57Z")

</div>

Not a problem, everyone starts somewhere.

What is it that you’re trying to do? If you can give us a bit more of an outline and if possible, a pic with more of the BP then we’ll be able to steer you in the right direction.

---

<div class="post-metadata">

**Author:** ![CyberGolem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberGolem](https://forums.unrealengine.com/u/CyberGolem)\
**Post date:** [June 7, 2016, 2:52am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/6 "2016-06-07T02:52:20Z")

</div>

I simply clicked on the BP to drag it into a new blank level. Thank you for your patience,

---

<div class="post-metadata">

**Author:** ![Tactical\_Beard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tactical\_Beard](https://forums.unrealengine.com/u/Tactical_Beard)\
**Post date:** [June 7, 2016, 2:59am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/7 "2016-06-07T02:59:15Z")

</div>

You would need to bring the missing assets to the new level and reselect them.

---

<div class="post-metadata">

**Author:** ![CyberGolem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberGolem](https://forums.unrealengine.com/u/CyberGolem)\
**Post date:** [June 7, 2016, 3:24am UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/8 "2016-06-07T03:24:11Z")

</div>

Thanks for the nudge but none of the enums from the dropdown is working. The choices (with “enum” typed into the search filter):

- BP\_DemoDisplay\_Enum
- BP\_DemoRoom\_Enum
- BP\_FlowControl\_Enum
- BP\_Graph\_Enum

_BP\_DemoRoom\_Enum_ seems the obvious choice but it doesn’t appear to have any affect when used. When I disconnect the nodes that say “ERROR!” the BP will compile, but the BP only has a couple of lights in it when dragged into the level. Nothing else is visible (meshes, textures, etc.,).

As expected, the BP won’t compile when I reconnect the Wildcard nodes.

---

<div class="post-metadata">

**Author:** ![CyberGolem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberGolem](https://forums.unrealengine.com/u/CyberGolem)\
**Post date:** [June 7, 2016, 1:52pm UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/9 "2016-06-07T13:52:27Z")

</div>

Okay, so the issues that drove me back to v4.11 have been resolved, so I’m abandoning this issue and moving back to v4.12.

Thanks much

---

<div class="post-metadata">

**Author:** ![Tactical\_Beard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tactical\_Beard](https://forums.unrealengine.com/u/Tactical_Beard)\
**Post date:** [June 7, 2016, 2:18pm UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/10 "2016-06-07T14:18:48Z")

</div>

Check this out the migrate function it allows you to move assets from one project to another with out all the bs.

> **[Migrating Assets](https://docs.unrealengine.com/4.27/en-US/Basics/AssetsAndPackages/Migrate/)**
>
> This document covers how to migrate assets into other projects within the Content Browser

---

<div class="post-metadata">

**Author:** ![CyberGolem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CyberGolem](https://forums.unrealengine.com/u/CyberGolem)\
**Post date:** [June 7, 2016, 3:03pm UTC](https://forums.unrealengine.com/t/how-do-i-repair-a-blueprint-that-wont-compile/359895/11 "2016-06-07T15:03:55Z")

</div>

Something new everyday. Thank you!
