You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.
In OnPermissionGranted, the variable _permissionGranted is set after the _trackOnStart check:
if (_trackOnStart)
{
StartTracking();
}
_permissionGranted = true;
However, if _trackOnStart is true, StartTracking() checks if _permissionGranted is false, but because it is set to true after the _trackOnStart check, an error shows up in the log. _permissionGranted needs to be set before the _trackOnStart check:
_permissionGranted = true;
if (_trackOnStart)
{
StartTracking();
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
File: MagicLeapMarkerTracker.cs
In OnPermissionGranted, the variable _permissionGranted is set after the _trackOnStart check:
if (_trackOnStart)
{
StartTracking();
}
_permissionGranted = true;
However, if _trackOnStart is true, StartTracking() checks if _permissionGranted is false, but because it is set to true after the _trackOnStart check, an error shows up in the log. _permissionGranted needs to be set before the _trackOnStart check:
_permissionGranted = true;
if (_trackOnStart)
{
StartTracking();
}
The text was updated successfully, but these errors were encountered: