Open pyrogamer0209 opened 11 months ago
The important changes are in LEAP_CONNECTION* FLeapWrapper::OpenConnection(LeapWrapperCallbackInterface* InCallbackDelegate, bool UseMultiDeviceMode)
starting from line 99. The other changes are auto formatting.
Normally you put the client_config.json next to the LeapC.dll and it is used automatically. This works in the Editor but not for packaged builds.
The provided solution mimics the expected behaviour. The LeapWrapper checks the expected path in the Plugin's Directory and initializes the
server_namespace
with the file content. If no file is given the default behaviour is used.We tested it with: