|
|
|
|
|
To Deploy Hello-World to your Quest, we will need the following variables. Detailed information is below.
|
|
Before we get started, here is a list of variables you will need to deploy Hello-World to your Quest.
|
|
|
|
|
|
|Variables |
|
|
|Variables |
|
|
|--- |
|
|
|--- |
|
|
|WVSUSR_Quest_APPID |
|
|
|WVSUSR_Quest_APPID |
|
... | @@ -10,7 +9,7 @@ To Deploy Hello-World to your Quest, we will need the following variables. Detai |
... | @@ -10,7 +9,7 @@ To Deploy Hello-World to your Quest, we will need the following variables. Detai |
|
|WVSUSR_ANDROID_KEY_STORE_PASS |
|
|
|WVSUSR_ANDROID_KEY_STORE_PASS |
|
|
|WVSUSR_ANDROID_KEYSTORE_BASE64 |
|
|
|WVSUSR_ANDROID_KEYSTORE_BASE64 |
|
|
|WVSUSR_UNITY_PASS |
|
|
|WVSUSR_UNITY_PASS |
|
|
|WVSUSR_UNITY_SERIAL |
|
|
|WVSUSR_UNITY_USER |
|
|
|
|
|
|
1. Go to [Oculus Developer Center](https://developer.oculus.com/) and log in with your credentials.
|
|
1. Go to [Oculus Developer Center](https://developer.oculus.com/) and log in with your credentials.
|
|
Select **My Apps** to get started.
|
|
Select **My Apps** to get started.
|
... | @@ -23,15 +22,13 @@ Select **My Apps** to get started. |
... | @@ -23,15 +22,13 @@ Select **My Apps** to get started. |
|
|
|
|
|
4. On the left-hand side, select **API**.
|
|
4. On the left-hand side, select **API**.
|
|
- In the center of the page, locate **APP ID** and save this number for later.
|
|
- In the center of the page, locate **APP ID** and save this number for later.
|
|
- Find **User Token** and click the **Generate Token** button. Copy the generated token and save
|
|
|
|
it for later.
|
|
|
|
- Locate **App Secret** and copy the secret and save this for later.
|
|
- Locate **App Secret** and copy the secret and save this for later.
|
|
|
|
|
|
5. Now, we are going to move into the project on unity. To clone your project to your local
|
|
5. Now, we are going to move into the project on Unity. To clone your project to your local
|
|
directory, you can use the Desktop Client, the CLI, or the web app. Detailed steps can be found on our [Docs Site](https://docs.wvs.io/wiki/Projects/Clone/Clone-Project-in-Web-App.html).
|
|
directory, you can use the Desktop Client, the CLI, or the web app. Detailed steps can be found on our [Docs Site](https://docs.wvs.io/wiki/Projects/Clone/Clone-Project-in-Web-App.html).
|
|
But you can clone using the Desktop Client.
|
|
But you can clone using the Desktop Client.
|
|
- Select **Remote Projects** from the tab on the left-hand side. The project you just forked should
|
|
- Select **Remote Projects** from the tab on the left-hand side. The project you just forked should
|
|
appear in the list. Click Clone. Your Project should now be in the **My Projects** tab on the left.
|
|
appear on the list. Click Clone. Your Project should now be in the **My Projects** tab on the left.
|
|
|
|
|
|
6. Once you have your project locally, you can make some changes to the project.
|
|
6. Once you have your project locally, you can make some changes to the project.
|
|
- In the Desktop Client, you will start a changelist by selecting the **New Changelist** tab on
|
|
- In the Desktop Client, you will start a changelist by selecting the **New Changelist** tab on
|
... | @@ -44,7 +41,7 @@ But you can clone using the Desktop Client. |
... | @@ -44,7 +41,7 @@ But you can clone using the Desktop Client. |
|
- Any files that got changed will automatically show up in the appropriate section under
|
|
- Any files that got changed will automatically show up in the appropriate section under
|
|
Modified Files in the desktop client. We won't commit any changes just yet.
|
|
Modified Files in the desktop client. We won't commit any changes just yet.
|
|
|
|
|
|
7. Once you have your project locally, open it up in Unity. Here is a list of what you'll need to store in this step.
|
|
7. Since your project is local, we can make some changes to the project settings. Open the project up in Unity. Here is a list of the variables you'll need to store in this step.
|
|
|
|
|
|
|Variables |
|
|
|Variables |
|
|
|--- |
|
|
|--- |
|
... | @@ -69,12 +66,12 @@ But you can clone using the Desktop Client. |
... | @@ -69,12 +66,12 @@ But you can clone using the Desktop Client. |
|
the Changelist Notes section with a brief description of your changes.
|
|
the Changelist Notes section with a brief description of your changes.
|
|
- Finally, press the COMMIT CHANGELIST button and follow the instructions to push.
|
|
- Finally, press the COMMIT CHANGELIST button and follow the instructions to push.
|
|
|
|
|
|
9. With all the variables that were collected in the previous steps, you'll enter them into the project variables.
|
|
9. With all the variables that were collected in the previous steps, you'll enter them into your project variables in the WVS web.
|
|
- In the WVS web app, go to your project, scroll to the bottom, and in the left-hand nav, select
|
|
- In the WVS web app, go to your project, scroll to the bottom, and in the left-hand nav, select
|
|
**Project Settings>> CI/CD**. Locate **Variables** and expand the section.
|
|
**Project Settings>> CI/CD**. Locate **Variables** and expand the section.
|
|
![var](https://wvs.io/wvs-project-examples/hello-world-unity-vr-quest/-/raw/main/rdmeimg/wvs1.png)
|
|
![var](https://wvs.io/wvs-project-examples/hello-world-unity-vr-quest/-/raw/main/rdmeimg/wvs1.png)
|
|
|
|
|
|
- Click the **Add Variable** button and add your variables, one at a time.
|
|
- Click the **Add Variable** button and add all your variables from the list, one at a time.
|
|
|
|
|
|
9. Once this is set up, you can enable the flows in the desktop client by doing the following.
|
|
9. Once this is set up, you can enable the flows in the desktop client by doing the following.
|
|
- The WVS Desktop client uses a simple interface to manage a single active changelist at a time. A
|
|
- The WVS Desktop client uses a simple interface to manage a single active changelist at a time. A
|
... | @@ -88,11 +85,11 @@ But you can clone using the Desktop Client. |
... | @@ -88,11 +85,11 @@ But you can clone using the Desktop Client. |
|
- The JSON files to change are in `.wvs/flows`
|
|
- The JSON files to change are in `.wvs/flows`
|
|
- Open the first file, and you will change the second line `"Enabled": false` to `true`.
|
|
- Open the first file, and you will change the second line `"Enabled": false` to `true`.
|
|
|
|
|
|
10. Once the build completes, you can go to your [Oculus Developer Account](https://developer.oculus.com) and check that your build was deployed.
|
|
10. Once the build completes, you can go to your [Oculus Developer Account](https://developer.oculus.com) and check that your build was deployed successfully.
|
|
- Go to your app and select Overview from the left-hand nav. You will see your build
|
|
- Go to your app and select Overview from the left-hand nav. You will see your build
|
|
information there once it is deployed successfully.
|
|
information there once it is deployed successfully.
|
|
- Your App should show up under APP LAB and if it doesn't show automatically, you will have to
|
|
- Your App should show up under APP LAB, and if it doesn't show automatically, you will
|
|
search on your device by using the exact project name **Hello-World**.
|
|
have to search on your device by using the exact project name **Hello-World**.
|
|
|
|
|
|
### Troubleshooting
|
|
### Troubleshooting
|
|
For additional support, please reach out to us on our Discord or by Email. |
|
For additional support, please reach out to us on our Discord or by Email. |