Closed vocasle closed 3 years ago
@DecoyRS may be you could suggest something? Or the only option is to upgrade Engine to 4.23?
Hello @vocasle I'd say the easiet way would be to take RiderLink.zip from your "Rider for Unreal Engine" installation folder, unzip it in %GameFolder%/Plugins/RiderLink and try to build the game, fixing any issues that come up from that point.
In general, Rider for Unreal Engine works best with the newer versions of UE due to changes in UnrealBuildTool
@DecoyRS, understood, thanks. I have tried what you suggested, but the error is the same. And this is expected because hardlink to RiderLink and contents of RiderLink.zip are quite the same.
To fix those errors I need to hack UBT, because in UE 4.19 UBT does not have an option to disable precompiled headers for plugins. That is why I have created this issue in hope that developers could provide some info on how to use RiderLink in UE 4.19.
So the official stance would be "yes, you need to update to UE 4.23", but as a workaround, you can try to add an empty file and set it as your PCH in RD.Build.cs
Okay, got it, thanks.
@vocasle Did you manage to build RiderLink eventually? I added empty PCH file, but have another error: RiderGameControlExtension.cpp(20): [C1083] Cannot open include file: 'UnrealEd/Public/Editor.h': No such file or directory
@kiferdon No, I have tried what DecoyRS suggested, but some new errors arose and I have stopped using Resharper after that)
Hello, as per warning suggestion I have tried to build UnrealLink from source.
I have successfully executed following commands:
gradlew buildResharperHost
gradlew symlinkPluginToUnrealProject
.After that I have regenerated project files via
GenerateProjectFiles.bat
and tried to build the game, but I have got an error from UBT:Could you please provide any suggestions on how to build RiderLink with UE 4.19?