@dsnopek informed me that, in the xr simulator, the demo project would fail to retrieve hand meshes and proceed to keep trying every frame. This would cause a constant flow of error messages. Now when attempting to fetch hand mesh data, it will abort the process if xrGetHandMeshFB() returns XR_ERROR_FUNCTION_UNSUPPORTED or XR_ERROR_FEATURE_UNSUPPORTED.
I've also updated it so after all the hand mesh data is successfully fetched, should_fetch_hand_mesh_data is set to false.
@dsnopek informed me that, in the xr simulator, the demo project would fail to retrieve hand meshes and proceed to keep trying every frame. This would cause a constant flow of error messages. Now when attempting to fetch hand mesh data, it will abort the process if
xrGetHandMeshFB()
returnsXR_ERROR_FUNCTION_UNSUPPORTED
orXR_ERROR_FEATURE_UNSUPPORTED
.I've also updated it so after all the hand mesh data is successfully fetched,
should_fetch_hand_mesh_data
is set tofalse
.