Hi everyone !
Please make sure to download the latest version of the Revit plugin on Datasmith Exporter Plugins - Unreal Engine .
At the time of this post, the latest version is the 4.27 Preview 2, updated June 22nd 2021.
Be sure to change the version of the plugin by clicking on the dropdown menu as show in this screenshot.
If your Revit is properly installed, the installer will show you Revit 2022 as an option.
Cheers !
Antoine