-
Notifications
You must be signed in to change notification settings - Fork 0
Settings for Windows
Nate River edited this page Feb 4, 2024
·
8 revisions
Unity doesn't support deep linking for Windows (UNITY_STANDALONE_WIN).
- You should enable
Force Single InstanceinPlayer Settingsto use this option. The app will registerURL Protocolin Registry and createDeep Linking Agentthat will bypass an auth code to the app. The app will be resumed automatically after sign-in. To use this option, you must createiOScredentials and setClient Id WindowsandCustom Uri Scheme Windows(leaveClient Secret Windowsempty). You can use generic credentials (the same as for Android, iOS and UWP). If your app is available for both Windows (UNITY_STANDALONE_WIN) and UWP (UNITY_WSA), it's recommended to create different credentials with differentCustom Uri Scheme(to avoid conflicts). -
.NET Frameworkshould be used instead of.NET Standardbecause Registry is used with this option.
- 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.
To use this option, you must create
Desktopcredentials and setClient Id WindowsandClient Secret WindowsinSettings(leaveCustom Uri Scheme Windowsempty). This options is also used in Unity Editor.