# (Delegates) AddRaw() Error after upgrading to UE5.1

**URL:** <https://forums.unrealengine.com/t/delegates-addraw-error-after-upgrading-to-ue5-1/757827>\
**Category:** C++\
**Tags:** unreal-engine, delegates, CPP, question\
**Created:** [January 27, 2023, 5:44am UTC](https://forums.unrealengine.com/t/delegates-addraw-error-after-upgrading-to-ue5-1/757827 "2023-01-27T05:44:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![synthcoderrr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/synthcoderrr/32/615922_2.png) [@synthcoderrr](https://forums.unrealengine.com/u/synthcoderrr)\
**Post date:** [January 28, 2023, 1:33pm UTC](https://forums.unrealengine.com/t/delegates-addraw-error-after-upgrading-to-ue5-1/757827/3 "2023-01-28T13:33:53Z")

</div>

Thanks for the reply! That is probably the way to go.  
But after some more experimentation I found out that the engine errors actually come up in every new project I create in Unreal 5. thats both 5.1 and 5.0.3.

I tried everything in this thread but nothing fixed it:

> [@5.1 Error when creating new C++ template project](https://forums.unrealengine.com/t/5-1-error-when-creating-new-c-template-project/691932):
>
> I just tried to create a new C++ test project based on the ThirdPerson example project and received the error below. Please note that I can create new C++ projects in 4.27.2 and 5.0.3 on this PC without any issues. An error occurred while trying to generate project files. Running C:/Program Files/Epic Games/UE\_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project="C:/Projects/PerforceDepot/ThirdPersonTest/ThirdPersonTest.uproject" -game -rocket -progress Running UnrealBuildTool: dotnet…

Disabling live coding as well as using the visual studio integration plugin did nothing  
I installed VS2019 but that also did not make a difference. I even tried using Rider for Unreal. There it did not show any engine errors but the AddRaw() was still there.

I am somewhat out of Ideas now. Any input would be greatly appreciated!

---

_[View the full topic](https://forums.unrealengine.com/t/delegates-addraw-error-after-upgrading-to-ue5-1/757827)._
