Skip to main content
New Participant
August 29, 2024

Always pop-up Help to improve Meta SDKs window

I am using Meta XR All-in-One SDK to develop a Quest app. The SDK version used is v68.0.1. The following window always pops up whenever I open the Unity project or hit the 'Play' button in Unity Editor to debug. When I follow the instructions to "Meta XR > Telemetry", there is no response when I click the checkbox. This does not affect any other functionalities but is pretty annoying. I would greatly appreciate it if someone could take a look at it. I am on a clean project in Unity 2021.3.33f1 without any other plugins, and I disabled Unity Connect.

 

    This topic has been closed for replies.

    5 replies

    snecpsuAuthor
    New Participant
    August 29, 2024

    The problem was solved by downgrading to version 67.0.0. This may be a new issue introduced by v68.

    Riiich
    Participant
    September 5, 2024

    Disable line 37 in

    [Your Project]\Library\PackageCache\com.meta.xr.sdk.core@68.0.2\Editor\OVRTelemetry\OVRTelemetryPopup.cs until Meta updates the file themselves.

        private static void Update()
        {
            EditorApplication.update -= Update;
            if (ShouldShowPopup())
            {
                // ShowPopup();
            }
    
            OVRTelemetryConsent.SendConsentEvent(OVRTelemetryConstants.OVRManager.ConsentOrigins.Legacy);
        }
    Developer
    Riiich
    Participant
    September 5, 2024

    The package manger may however still want to keep the original files from the package manager if it finds edits. You may need to make sure Unity doesn't manually update the files by moving them from the package manager to assets: https://discussions.unity.com/t/how-to-locally-modify-source-code-in-a-package/919965/2

    Developer
    New Participant
    September 11, 2024

    If you're using windows, I got rid of that popup by manually adding the following entry to the registry:


    [HKEY_CURRENT_USER\SOFTWARE\Unity Technologies\Unity Editor 5.x]
    "OVRTelemetry.TelemetryEnabled"=dword:00000000

    I got to that workaround by checking the script mentioned by Riiich and digging a little more from there.

    Basically, the problem is that for some reason that new entry isn't getting created regardless of you answering that popup multiple times.

    In case that you're using a different OS, you can check the location for the EditorPrefs and do the equivalent of adding that entry to the registry under Linux/macOS

    New Participant
    October 22, 2024

    I fixed it by setting the Editor Preference Key manually:

     

    public class DisableMetaPopup: MonoBehaviour
    {
    	private const string TelemetryEnabledKey = "OVRTelemetry.TelemetryEnabled";
    	
    	[ContextMenu("DisablePopup")]
    	public void DisablePopup()
    	{
    		EditorPrefs.SetBool(TelemetryEnabledKey, false);
    	}
    }

    Just execute it once. No need to downgrade, change package files or registry entries.