You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

56
80
1. Build the solution.
57
81
82
+
---
83
+
58
84
## Launch the sample project
59
85
60
-
Start the Debugger in Visual Studio (F5). It will automatically deploy the app to the PC.
86
+
# [Standalone](#tab/UnityStandalone)
87
+
88
+
Run the *.exe* file, which was produced in the build step.
89
+
90
+
# [UWP](#tab/UnityUWP)
91
+
92
+
Start the Debugger in Visual Studio (F5). It automatically deploys the app to the PC.
61
93
62
94
The sample app should launch and then start a new session. After a while, the session is ready and the remotely rendered model will appear in front of you.
63
95
If you want to launch the sample a second time later, you can also find it from the Start menu now.
64
96
97
+
---
98
+
65
99
## Next steps
66
100
67
101
In the next quickstart, we'll take a look at converting a custom model.
Copy file name to clipboardExpand all lines: articles/remote-rendering/quickstarts/deploy-to-hololens.md
+27-13Lines changed: 27 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.custom: mode-other
12
12
13
13
This quickstart covers how to deploy and run the quickstart sample app for Unity to a HoloLens 2.
14
14
15
-
In this quickstart you'll learn how to:
15
+
In this quickstart, you learn how to:
16
16
17
17
> [!div class="checklist"]
18
18
>
@@ -22,35 +22,49 @@ In this quickstart you'll learn how to:
22
22
23
23
## Prerequisites
24
24
25
-
In this quickstart, we'll deploy the sample project from [Quickstart: Render a model with Unity](render-model.md).
25
+
In this quickstart, we deploy the sample project from [Quickstart: Render a model with Unity](render-model.md).
26
26
Make sure your credentials are saved properly with the scene and you can connect to a session from within the Unity editor.
27
27
28
28
The HoloLens 2 must be in developer mode and paired with the desktop machine. Refer to [using the device portal](/windows/mixed-reality/develop/advanced-concepts/using-the-windows-device-portal#setting-up-hololens-to-use-windows-device-portal) for further instructions.
29
29
30
30
## Build the sample project
31
31
32
+
# [Unity 2021+](#tab/Unity2021PlusBuild)
33
+
34
+
1. Open *File > Build Settings*.
35
+
1. Change *Platform* to **Universal Windows Platform**.\
36
+

37
+
1. Select **Switch Platform**.
38
+
1. When pressing **Build** (or 'Build And Run'), you're asked to select some folder where the solution should be stored.
39
+
40
+
# [Unity 2020](#tab/Unity2020Build)
41
+
32
42
1. Open *File > Build Settings*.
33
-
1. Change *Platform* to **Universal Windows Platform**

44
56
1. Build the solution
45
-
1. For the project 'Quickstart', go to *Properties > Debugging*
46
-
1. Make sure the configuration *Release* is active
57
+
1. In the Solution Explorer, select the 'Quickstart' project
58
+
1. Go to *Properties*
59
+
1. Make sure the configuration *Release* and platform *ARM64* are active
60
+
1. Go to Debugging
47
61
1. Set *Debugger to Launch* to **Remote Machine**
48
62
1. Change *Machine Name* to the **IP of your HoloLens**
49
63
50
64
## Launch the sample project
51
65
52
66
1. Connect the HoloLens with a USB cable to your PC.
53
-
1. Start the Debugger in Visual Studio (F5). It will automatically deploy the app to the device.
67
+
1. Start the Debugger in Visual Studio (F5). It automatically deploys the app to the device.
54
68
55
69
The sample app should launch and then start a new session. After a while, the session is ready and the remotely rendered model will appear in front of you.
56
70
If you want to launch the sample a second time later, you can also find it from the HoloLens start menu now.
Copy file name to clipboardExpand all lines: articles/remote-rendering/quickstarts/deploy-to-quest.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ This quickstart covers how to deploy and run the quickstart sample app for Unity
19
19
>
20
20
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
21
21
22
-
In this quickstart you'll learn how to:
22
+
In this quickstart, you learn how to:
23
23
24
24
> [!div class="checklist"]
25
25
>
@@ -29,27 +29,27 @@ In this quickstart you'll learn how to:
29
29
30
30
## Prerequisites
31
31
32
-
In this quickstart, we'll deploy the sample project from [Quickstart: Render a model with Unity](render-model.md).
32
+
In this quickstart, we deploy the sample project from [Quickstart: Render a model with Unity](render-model.md).
33
33
Make sure your credentials are saved properly with the scene and you can connect to a session from within the Unity editor.
34
34
35
-
In Unity you need to have **Android Build Support** installed.
35
+
In Unity, you need to have **Android Build Support** installed.
36
36
37
37
Your Quest 2 / Quest Pro device must be set up for [Developer Mode](https://developer.oculus.com/documentation/native/android/mobile-device-setup/).
38
38
39
-
You need to have the [Android SDK](https://developer.android.com/studio) installed, so that tools like the [Android Debug Bridge (ADB)](https://developer.android.com/tools/adb) are available. You should also make sure these are in your `PATH` environment variable.
39
+
You need to have the [Android SDK](https://developer.android.com/studio) installed, so that tools like the [Android Debug Bridge (ADB)](https://developer.android.com/tools/adb) are available. You should also make sure the path to these binaries are in your `PATH` environment variable.
40
40
41
-
Make sure your Quest device is connected to the PC and side-loading APKs via `adb` works.
41
+
Make sure your Quest device is connected to the PC and side-loading Android Packages (APKs) via `adb` works.
42
42
43
43
## Build the sample project
44
44
45
45
1. Open *File > Build Settings*.
46
-
1. Change *Platform* to **Android**
46
+
1. Change *Platform* to **Android**.
47
47
1. If you want to be able to debug the APK, enable *Development Build*.
0 commit comments