Hermes icon indicating copy to clipboard operation
Hermes copied to clipboard

Steps for Hermes_Urls Registration

Open delscorcho opened this issue 1 year ago • 2 comments

Are there documented steps for setting up the Hermes URI registration/association? For some, clicking the URI only takes them to the windows store. I didn't see any documentation on running the hermes_url register command, assuming it's needed for proper association. Thanks in advance!

delscorcho avatar May 09 '23 00:05 delscorcho

@delscorcho The URI registration / association should happen automatically the first time you start the editor with the plugin loaded -- no manual work required.

The registration itself happens in FWindowsHermesServerModule::RegisterScheme, where it calls hermes_urls.exe register. If you start the editor with -LogCmds="LogHermesServer verbose", it should log that it does so you can verify.

The call to register comes from FGenericHermesServer::UpdateScheme, which should happen in FGenericHermesServer::StartupModule.

To help troubleshoot hermes_urls.exe, you can go Edit > Preferences in Unreal and find "Hermes URLs" under plugins, and check "Enable Debug Logging". If you restart the editor after enabling that, it'll instruct hermes_urls.exe to log -- I believe that goes into Project/Plugins/HermesCore/Binaries/Win64/hermes.log.

Let me know if that helped or you're still having intermittent luck getting it to work.

jorgenpt avatar May 10 '23 06:05 jorgenpt

Yes, thank you, we did get to the bottom of it. The code you mentioned that handles registration was failing due to anti-malware software on some of our team's machines. We got that resolved. Thanks again for your time!

delscorcho avatar May 11 '23 04:05 delscorcho