getting the correct geometry after guardian refresh - seems to require a delay
I'm working on a roomscale game that requires accurate incorporation of the guardian as well as tracking any changes immediately.
A while back I posted here about getting guardian updates and I got the suggestion to use focus change and other events. That was super helpful and worked well. However, I recently changed some code to make it more efficient and now I have a new problem. It seems that if I call OVRManager.boundary.GetGeometry(OVRBoundary.BoundaryType.PlayArea) immediately after I get focus back, I'll get the previous geometry and not the updated geometry. If I pause a bit, it works fine. There's some chance it is due to my code, but I think I've eliminated that as a possibility.
Is there any event/callback/whatever that fires when the guardian changes on a Quest? If not, any thoughts/suggestions/directions to investigate? I'm currently using a delay of a few frames, but that seems hokey and open to problems.
Thanks,
Damon
