Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix client_config.json not used in packaged builds #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pyrogamer0209
Copy link

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:

  • Pico Neo 3 Eye Pro
  • Unreal Engine 5.2
  • Ultraleap Plugin v4.11.0
  • LeapC.dll v5.17.1

now reads the client_config file correctly in packaged games
@Fritte795
Copy link

The important changes are in LEAP_CONNECTION* FLeapWrapper::OpenConnection(LeapWrapperCallbackInterface* InCallbackDelegate, bool UseMultiDeviceMode) starting from line 99. The other changes are auto formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants