Unfortunately, this is not something that we are able to provide guidance on as a team since we no longer have access to render farm making it not possible for us to test. The direction we are going is to only maintain the Iray rendering. Please investigate the new integration with Unreal.
iTwin for developer: Bringing your iTwin into Unreal
Check this webinar and maybe this would be a better solution.