Cant get rider link to build in engine for unreal 5.2

Everything in the log seems to be fine until i hit this

[76/83] Compile [x64] Module.RiderBlueprint.cpp
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::get_protocol' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(29): note: see declaration of 'rd::RdBindableBase::get_protocol'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\INCLUDE\xmemory(2096): note: see reference to class template instantiation 'rd::detail::WiredRdTaskImpl<T,S>' being compiled
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\INCLUDE\memory(2105): note: see reference to class template instantiation 'std::_Wrap<_Ty>' being compiled
        with
        [
            _Ty=rd::detail::WiredRdTaskImpl<bool,rd::Polymorphic<bool,void>>
        ]
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\INCLUDE\memory(2764): note: see reference to class template instantiation 'std::_Ref_count_obj2<_Ty>' being compiled
        with
        [
            _Ty=rd::detail::WiredRdTaskImpl<bool,rd::Polymorphic<bool,void>>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTask.h(21): note: see reference to function template instantiation 'std::shared_ptr<rd::detail::WiredRdTaskImpl<T,S>> std::make_shared<rd::detail::WiredRdTaskImpl<T,S>,rd::Lifetime&,const rd::RdReactiveBase&,rd::RdId&,rd::IScheduler*&,rd::Property<rd::RdTaskResult<T,S>>*&>(rd::Lifetime &,const rd::RdReactiveBase &,rd::RdId &,rd::IScheduler *&,rd::Property<rd::RdTaskResult<T,S>> *&)' being compiled
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTask.h(20): note: while compiling class template member function 'rd::WiredRdTask<TRes,ResSer>::WiredRdTask(rd::Lifetime,const rd::RdReactiveBase &,rd::RdId,rd::IScheduler *)'
        with
        [
            TRes=bool,
            ResSer=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\RdCall.h(120): note: see the first reference to 'rd::WiredRdTask<TRes,ResSer>::WiredRdTask' in 'rd::RdCall<int32_t,bool,rd::Polymorphic<T,void>,rd::Polymorphic<bool,void>>::start_internal'
        with
        [
            TRes=bool,
            ResSer=rd::Polymorphic<bool,void>
        ]
        and
        [
            T=int
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\RdCall.h(74): note: see the first reference to 'rd::RdCall<int32_t,bool,rd::Polymorphic<T,void>,rd::Polymorphic<bool,void>>::start_internal' in 'rd::RdCall<int32_t,bool,rd::Polymorphic<T,void>,rd::Polymorphic<bool,void>>::sync'
        with
        [
            T=int
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RiderBlueprint\Private\RiderBlueprint.cpp(31): note: see the first reference to 'rd::RdCall<int32_t,bool,rd::Polymorphic<T,void>,rd::Polymorphic<bool,void>>::sync' in 'AllowSetForeGroundForEditor'
        with
        [
            T=int
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RiderBlueprint\Private\RiderBlueprint.cpp(31): note: see reference to class template instantiation 'rd::WiredRdTask<TRes,ResSer>' being compiled
        with
        [
            TRes=bool,
            ResSer=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::get_serialization_context' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(60): note: see declaration of 'rd::RdBindableBase::get_serialization_context'
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::get_location' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(50): note: see declaration of 'rd::RdBindableBase::get_location'
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::set_id' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(54): note: see declaration of 'rd::RdBindableBase::set_id'
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::get_id' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(52): note: see declaration of 'rd::RdBindableBase::get_id'
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::bind' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(56): note: see declaration of 'rd::RdBindableBase::bind'
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\task\WiredRdTaskImpl.h(67): error C4250: 'rd::detail::WiredRdTaskImpl<T,S>': inherits 'rd::RdBindableBase::rd::RdBindableBase::identify' via dominance
        with
        [
            T=bool,
            S=rd::Polymorphic<bool,void>
        ]
C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Source\RD\src\rd_framework_cpp\src\main\base\RdBindableBase.h(58): note: see declaration of 'rd::RdBindableBase::identify'
[77/83] Link [x64] UnrealEditor-RiderBlueprint.lib cancelled
[78/83] Link [x64] UnrealEditor-RiderBlueprint.dll cancelled
[79/83] Link [x64] UnrealEditor-RiderLogging.dll cancelled
[80/83] Compile [x64] RiderGameControl.cpp
[81/83] Link [x64] UnrealEditor-RiderGameControl.lib
   Creating library C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Intermediate\Build\Win64\x64\UnrealEditor\Development\RiderGameControl\UnrealEditor-RiderGameControl.lib and object C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Intermediate\Build\Win64\x64\UnrealEditor\Development\RiderGameControl\UnrealEditor-RiderGameControl.exp
[82/83] Link [x64] UnrealEditor-RiderGameControl.dll
   Creating library C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Intermediate\Build\Win64\x64\UnrealEditor\Development\RiderGameControl\UnrealEditor-RiderGameControl.suppressed.lib and object C:\Users\chris\AppData\Local\Temp\UnrealLink\Gemijyj\HostProject\Plugins\RiderLink\Intermediate\Build\Win64\x64\UnrealEditor\Development\RiderGameControl\UnrealEditor-RiderGameControl.suppressed.exp
[83/83] WriteMetadata UnrealEditor.target cancelled
CompilationResultException: Error: OtherCompilationError
   at UnrealBuildTool.ActionGraph.ExecuteActions(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, List`1 TargetDescriptors, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 399
   at UnrealBuildTool.BuildMode.Build(TargetMakefile[] Makefiles, List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 753
   at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 248
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 599
WriteFileIfChanged() wrote 92 changed files of 92 requested writes.

0
7 comments

Hello,

Thank you for contacting Rider support.

Regrettably, you encountered a known issue: RiderLink 2023.1.0.281 fails to compile with Visual Studio 2022 v17.6

This problem will be fixed in the upcoming 2023.1.3 release.

As of now, there are the following solutions available:

Manually apply fix:

  • to "Extract RiderLink in Game" (you can find it in File | Settings | Languages & Frameworks | Unreal Engine).
  • After extraction, find the `WiredRdTaskImpl.h` file and before `namespace rd` insert two lines
    #pragma warning(push)#pragma warning(disable : 4250)
  • Then you can recompile your game project and compilation will be successful.

To update UnrealLink

  • Go to File | Settings | Plugins | Installed;
  • Find the UnrealLink plugin and update it;
  • Restart Rider;
  • Reinstall RiderLink via File | Settings | Languages & Frameworks | Unreal Engine | Install RiderLink in Game;

If that doesn't help or you have any other questions or difficulties, please let me know.

Have a nice day!

2

Yes this worked,

Thanks for the fix Dmitry.

0
Hello Chrisbing89,

I am happy to hear that I was able to help.
Should you have any other questions or difficulties in the future, do not hesitate to contact support.

Have a nice day!
1

HI Dmitry, 

I applied the manual fix and it works. However, the bug does not seem to be fixed:

This problem will be fixed in the upcoming 2023.1.3 release.

Kind regards,

Kai

0

Hello Kai,

Would you mind confirming it is your comment and the issue is solved?

Have a nice day!

0

Hi,

I would like to do it but I don’t see any way to mark it as solved. I am not the author of the original issue. Any suggestions? If you just want me to do it here: Yes it's my comment and the issue is solved. Thank you!

Have a nice day, too!

0
Hello Kai,

Thank you for the confirmation. My question was about your exact situation.
I am glad to hear that you do not experience this issue anymore.

Should you have any other questions or difficulties in the future, do not hesitate to contact support.
Have a nice day!
0

Please sign in to leave a comment.