You can try to copy the RiderSource Access from ue4.26 Engine Plugins to UE5 there is no compilation error and Rider is showing