# The UE5.7 Migration Bug: Macro Enum to Wildcard Crash

**URL:** <https://forums.unrealengine.com/t/the-ue5-7-migration-bug-macro-enum-to-wildcard-crash/2726390>\
**Category:** Blueprint\
**Tags:** unreal-engine, crash, bug-report, Blueprint\
**Created:** [June 5, 2026, 3:58am UTC](https://forums.unrealengine.com/t/the-ue5-7-migration-bug-macro-enum-to-wildcard-crash/2726390 "2026-06-05T03:58:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfmarkstudio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wolfmarkstudio/32/717095_2.png) [@wolfmarkstudio](https://forums.unrealengine.com/u/wolfmarkstudio)\
**Post date:** [June 5, 2026, 3:58am UTC](https://forums.unrealengine.com/t/the-ue5-7-migration-bug-macro-enum-to-wildcard-crash/2726390/1 "2026-06-05T03:58:14Z")

</div>

## 🛑 The UE5.7 Migration Bug: Macro Enum to Wildcard Crash

### The Problem

When migrating a project to **Unreal Engine 5.7** , the engine misinterprets the data pins of Macros that utilize Enumerations. It converts those Enum pins into **Wildcards**.

Because the graph logic still expects an Enum but the compiler sees an unresolved Wildcard, hitting **Compile** triggers a fatal assertion failure in the engine’s core memory allocation: `Assertion failed: InClass && InClass->ClassWithin && InClass->ClassConstructor [File:...UObjectGlobals.cpp] [Line: 3602]`

## 🛠 How to Fix It (Step-by-Step)

If your editor is crashing on compile after updating to UE5.7, follow these steps to fix the corrupted Macro:

### Step 1: Locate the Corrupted Macro

1. Open the Blueprint or Component that is causing the crash when you compile.

2. Look through your logic for any **Macros** (especially shared Macro Libraries) that take an Enum as an input or pass an Enum as an output.

### Step 2: Fix the Pin Types

1. Open the corrupted Macro.

2. Check the **Inputs** and **Outputs** panel on the right side of the editor.

3. You will notice the Pin Type has changed to a grey **Wildcard** instead of your original Enum.

4. Click the dropdown menu for the pin type and manually change it back to your specific **Enum** type.

### Step 3: Refresh and Compile

1. In the top menu bar of your Blueprint, go to **File → Refresh All Nodes** to force the graph to recognize the corrected pin types.

2. Hit **Compile**. The project will now compile successfully without crashing.

> 💡 **Developer Tip for UE5.7 Migrations:** If you have a large project with many macros, it is highly recommended to check your Macro Libraries _before_ hitting compile for the first time after upgrading to 5.7 to ensure no Enum pins were converted to wildcards.
