Setting Clients # to 0 and Switching to Android only shows Build & Reload
tracked
BobyStar
When the Number of Clients option is set to 0 before switching to Android it will only show the Reload options rather than the test buttons. This makes testing unavailable if the app hasn't been launched with Build & Test.
This was not clear to me at the beginning so I thought my device wasn't supported or was having issues being detected.
Expected: Number of Clients option does not effect the options of Build & Test for Mobile.
- On the Windows platform set the Number of Clients to test to 0 so only Reload options are available.
- Switch to Android platform.
- Plug in and Setup USB Debugging on Android Test Device.
- See that only Reload options are available.
Log In
This post was marked as
tracked
Fairplex
Ideally, we should be able to build and reload on Android as well, without testing or publishing.
Momo the Monster
Fairplex Build and Reload does work on Android! https://vrc-beta-docs.netlify.app/platforms/android/build-test-mobile#world-reload
Fairplex
Momo the MonsterI can confirm it works pretty well! (On linux here), but what I am suggesting here is to be able to build without doing anything. Just like on Windows you can build with 0 clients and it will just do the build, that's it.
You might ask me why do you want to build without doing anything after? I would answer that I often like to build just to see the build size, preparing stuff,, etc.. without the intention of uploading or testing locally.
BobyStar
Fairplex How I could see it working is that it always assumes 1 client will be tested but if there is no device plugged in it does the build and nothing afterwards.
Only one button "Build" when there is no device connected for debugging.
Two buttons "Reload Last Build" "Build & Test" when there is a device connected for debugging.
Fairplex
BobyStar that or just like the Unity default build, allows to build, or build and run. So I could imagine the device drop-down next to the build button in the sdk and if I select none it will just build. Idk what is the best layout for this but I hope we can just build only.