Error
After switching XR device to “cardboard”, any TrackedPoseDriver script which is active will have lost its connection (changes to its state make no noticeable changes to the scene).
Solution
Destroy the TPD before the device switch, then re-create and re-initialise it afterwards.
Error
[EGL] Unable to acquire context: EGL_BAD_ALLOC: EGL failed to allocate resources for the requested operation.
Solution
Disable multi-threaded rendering in player settings.
(from https://gist.github.com/unitycoder/6b6410800727548afaf9b0043121a164)