Skip to content

SDK needs a feature gate for logging #8

Description

@antoine-infinity

I had to downgrade the SDK version because version 6 is constantly spamming my Meta Quest console. Wave SDK logs are irrelevants when the XR Loader is not enabled in Unity.

Has seen here in ViveWaveSelfTracker.cs in the OnUpdate method, there is no feature gate or nothing to effectively hide the logs (even with the log flags option in the Wave Settings).

        public void OnUpdate()
        {
            if (Application.isEditor || !Application.isPlaying) { return; }

            logFrame++;
            logFrame %= 300;
            printIntervalLog = (logFrame == 0);

            if (!InputDeviceTracker.IsAvailable())
            {
                if (printIntervalLog) { sb.Clear().Append(LOG_TAG).Append("OnUpdate() No tracker connected."); DEBUG(sb); }
                return;
            }
           ...

Had to downgrade because it is very annoying to search through the sea of Wave logs on my quest to get to my actual logs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions