Forum Discussion
kingarrilla
6 years agoExplorer
Setting deafult value of AddSlider crashes app
crashes unity editor (2018.3.11f) and Android build for Quest with latest integrationvar sliderPrefab = DebugUIBuilder.instance.AddSlider("some label", 0.1f, 30f, delegate (float f) { SliderAction(f); }, false);
sliderPrefab.GetComponentInChildren<Slider>().normalizedValue = 1f; // <<- this is culprit
//sliderPrefab.GetComponentInChildren<Slider>().value = 30f; // <<- this also crashes
any ideas on how to do this?
Can anyone else reproduce it?
1 Reply
Replies have been turned off for this discussion
- kingarrillaExplorerjust bumping this - can anyone help...
why does setting a slider value in the Oculus DebugUI cause a crash?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 8 months ago