-
Notifications
You must be signed in to change notification settings - Fork 0
Settings for Windows
Nate River edited this page Jun 1, 2024
·
5 revisions
Unity doesn't support deep linking for Windows (UNITY_STANDALONE_WIN).
- You should enable
Resolution and Presentation > Force Single Instance
inPlayer Settings
to use this option. The app will registerURL Protocol
in Registry and createDeep Linking Agent
that will bypass an auth code to the app. The app will be resumed automatically after performing sign-in. -
Other Settings > Api Compatibility Level = .NET Framework
should be set because Registry is available in this API only. - If your app is available for both Windows (UNITY_STANDALONE_WIN) and UWP (UNITY_WSA), it's recommended to create different credentials with different
Custom Uri Scheme
to avoid conflicts. You can pass different auth settings to auth object constructor.- For Google: to use this option, you must create
iOS
credentials and setClient Id Windows
andCustom Uri Scheme Windows
(leaveClient Secret Windows
empty). You can use generic credentials (the same as for Android, iOS and UWP). - For Microsoft: to use this option,
Custom Uri Scheme
should be set.
- For Google: to use this option, you must create
- Redirect to localhost will be used to obtain an auth code. After sign-in, users will be asked to close the browser tab and return to the app. This options is used for Editor mode by default.
- For Google: to use this option, you must create
Desktop
credentials and setClient Id Windows
andClient Secret Windows
inSettings
(leaveCustom Uri Scheme Windows
empty). - For Microsoft: To use this option, leave
Custom Uri Scheme
empty.
- For Google: to use this option, you must create