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:
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!