Origins of the strange crashing:
We have received an app lab review mentioning "I only wish I could spend more than 5 minutes without it completely crashing on me"
Siiimon from the Discord, also came across this bug on a Quest 1: "Hi. I am testing open brush on quest via app lab (v 0.2.0), but it seems to crash every few minutes."
Personally, I have been unable to find any crashing on the Quest 2, but did get a logcat of a crash from my Quest 1.
Logcat of a Crash
Attached is a crash log, you can see the crash happens just before 23:03:43
logcat23-04crash.log
2021-03-18T23:03:43.519Z:error14408/14377 AndroidRuntime FATAL EXCEPTION: UnityMain<br>Process: com.Icosa.OpenBrush, PID: 14377<br>java.lang.Error: FATAL EXCEPTION [UnityMain]<br>Unity version : 2019.4.18f1
Possible Reproduction of the crash
@mikeskydev got a crash on scene change.
To reproduce this, I kept opening many different scenes with varying complexities and also spent time drawing in new scenes.
Of the 4 times, I have managed to get a crash. 3 were while loading scenes, and 1 happened after taking the headset on and off after loading a scene, which is the one in the logcat, note the onHeadsetMounted
.
Once a crash has happened I have been unable to get another until I reinstall Open Brush.
If anyone know how to get a crash, please comment here.