Forum Discussion

stevenlinton's avatar
8 months ago

Game doesn't render after returning from android permissions

We have two permission requests at the start of the game:

* Spatial permissions

* Bluetooth permissions

Sometimes after returning to the game after accepting these permissions nothing is rendered, but the game is still actually working. Music & sounds play, hand tracking works and you can press buttons, etc (though you can't see them). When you bring up the system menu/game title screen through the meta system hand pinch gesture and then "resume" the game, everything starts rendering again.

Another issue that can happen (which seems related) is that after accepting the permission it doesn't return to the game, it brings up screen you get when you bring up the system menu. You then need to tap resume to continue the game. In our case you immediately get asked for the second permission and it'll return to the system menu again. This happens slightly more frequently than the issue above. We don't get both issues at the same time.

The issue replicatable 50% of the time.

Any advice would be highly appreciated.

Cheers,

Steven, Fantail Games.

2 Replies

  • Oh, our game is MR/passthrough. The passthrough camera is still rendered, just none of the game assets or synthetic hands.

  • Turns out this only happens when you deploy the build using Build and Run in Unity.