# +FunctionRedirects not working for Blueprint Libraries?

**URL:** <https://forums.unrealengine.com/t/functionredirects-not-working-for-blueprint-libraries/480862>\
**Category:** Blueprint\
**Tags:** function-library, unreal-engine, Blueprint, question\
**Created:** [March 25, 2021, 1:00pm UTC](https://forums.unrealengine.com/t/functionredirects-not-working-for-blueprint-libraries/480862 "2021-03-25T13:00:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![D11.S.Clayton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@D11.S.Clayton](https://forums.unrealengine.com/u/D11.S.Clayton)\
**Post date:** [March 25, 2021, 1:00pm UTC](https://forums.unrealengine.com/t/functionredirects-not-working-for-blueprint-libraries/480862/1 "2021-03-25T13:00:22Z")

</div>

I have removed a function from one Blueprint library and replaced it with one in another.  
I have tried various tests of FunctionRedirects:

+FunctionRedirects=(OldName="/Script/BPL\_UIUtils.GetCharacterSlotPreviewActor",NewName="/Script/BPL\_3DCharacterPreview.GetCharacterSlotPreviewActorNew")

and

+FunctionRedirects=(OldName=“BPL\_UIUtils.GetCharacterSlotPreviewActor”,NewName=“BPL\_3DCharacterPreview.GetCharacterSlotPreviewActorNew”)

and

+FunctionRedirects=(OldName=“GetCharacterSlotPreviewActor”,NewName=“GetCharacterSlotPreviewActorNew”)

but even after trying all these, any Blueprint/UMG with the previous function still generates compile errors.  
Can anyone point out what I may be doing wrong please?

---

<div class="post-metadata">

**Author:** ![gpetit-sew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gpetit-sew](https://forums.unrealengine.com/u/gpetit-sew)\
**Post date:** [February 23, 2023, 11:27pm UTC](https://forums.unrealengine.com/t/functionredirects-not-working-for-blueprint-libraries/480862/2 "2023-02-23T23:27:07Z")

</div>

This is an old question, but I stumbled upon it while having a similar issue. My problem was that the blueprint functions had changed module AND name; my understanding is that you cannot use `FunctionRedirects` to change _both_ the module and the name of the function.

Here, you would have to either redirect the function library and preserve the function names like this:

```auto
+ClassRedirects=(OldName="/Script/<module>.BPL_UIUtils",NewName="/Script/<module>.BPL_3DCharacterPreview")

```

And have a dummy function in code where `GetCharacterSlotPreviewActor` calls `GetCharacterSlotPreviewActorNew`.

If the blueprint has not changed module, you should be able to remap it the way you did with simply

```auto
+FunctionRedirects=(OldName=“BPL_UIUtils.GetCharacterSlotPreviewActor”,NewName=“BPL_3DCharacterPreview.GetCharacterSlotPreviewActorNew”)

```
