# Broken References to Structs and Enums 

**URL:** <https://forums.unrealengine.com/t/broken-references-to-structs-and-enums/2312684>\
**Category:** Blueprint\
**Tags:** Struct, ENUM, unreal-engine, Blueprint, question\
**Created:** [February 1, 2025, 1:52am UTC](https://forums.unrealengine.com/t/broken-references-to-structs-and-enums/2312684 "2025-02-01T01:52:17Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![raptorred67](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/raptorred67/32/1024495_2.png) [@raptorred67](https://forums.unrealengine.com/u/raptorred67)\
**Post date:** [February 1, 2025, 1:52am UTC](https://forums.unrealengine.com/t/broken-references-to-structs-and-enums/2312684/1 "2025-02-01T01:52:17Z")

</div>

Hello there,  
I guess I fumbled the migration of a project containing some tools I built for UE. I tried to migrate it from an old project to a fresh one, changing the folder structure of the project.  
Old: “/Game/Sponza/Blueprints/…”  
New: “/Game/Blueprints/…”

In doing so, it broke references in my Blueprint Function Library to structs and enums I had used to tidy things up. The names and details of the items haven’t changed at all, just the path to them.

I have tried to open the BFL and BPs in the node editor in order to re-reference and rewire but it just falls apart to the point where nearly every connection is removed and errors abound.

For the life of me I can’t figure out how to just re-point the references to the new name of the structs and enums without everything breaking in the process.

I have tried using “Replace References” but the dialog only comes up with a single entry, the item I selected, and the “consolidate” button is greyed out so I can’t proceed.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/4/8d43955a249a358ba003d596f10fb07d49572e24.png)

I also found some info on [Core Redirects](https://dev.epicgames.com/documentation/en-us/unreal-engine/core-redirects-in-unreal-engine?application_version=5.2) but I must not be formatting them incorrectly because none work.  
This one results in no errors to the output but also no change/fix to the reference:

```auto
[CoreRedirects]
    +StructRedirects=(OldName="/Game/Sponza/Blueprints/Flicker/ColorVarStruct",NewName="/Game/Blueprints/Flicker/ColorVarStruct")

```

This one gives me an invalid character error in the output on startup:

```auto
[CoreRedirects]
    +StructRedirects=(OldName=/Script/Engine.UserDefinedStruct'/Game/Sponza/Blueprints/Flicker/ColorVarStruct.ColorVarStruct',NewName=/Script/Engine.UserDefinedStruct'/Game/Blueprints/Flicker/ColorVarStruct.ColorVarStruct')

```

And this one where I tried to use the substring matching to just remove the old name causes the editor to crash on startup:

```auto
[CoreRedirects]
    +StructRedirects=(OldName="/Sponza",NewName="",MatchSubstring=true)

```

Am I misunderstanding what these redirects are for or just misformatting the line?

Is there anyway I can cleanly fix these few references without manually rewiring everything? These tools took a lot of time and effort to create and I really don’t want to lose them.

---

_[View the full topic](https://forums.unrealengine.com/t/broken-references-to-structs-and-enums/2312684)._
