Skip to main content
Up and Coming
Nov 28, 2019 4:17 PM UTC

Your copy of Oculus Platform Command Line Utility is old

When I try to upload to Oculus I get the message:
***************************************************************
* Your copy of Oculus Platform Command Line Utility is old.   *
* Version 1.37.0.000001 has been released on Wed Oct 09 2019. *
* Please use the following command to update it:              *
*   > C:\Windows\ovr-platform-util.exe self-update            *
***************************************************************
But when I run:
C:\Windows\ovr-platform-util.exe self-update
I get:
Checking for the latest version
Already running the latest version 1.38.0.000001


    14 replies

    LuisZan
    Inspiring
    Oct 18, 2021 6:46 PM UTC

    I'm getting this error both on my Oculus Developer Hub and Unity Platform Utility 

     

    I've run the command and got a progress bar while doing so but I'm still getting this message.

    In spite of this message, it uploads quest buildd with no problems but rift builds get server error messages

     

    Your copy of Oculus Platform Command Line Utility is old.
    Version 1.67.0.000001 has been released on Thu Oct 07 2021. 
    Please use the following command to update it:  > Assets\Oculus\VR\Editor\Tools\ovr-platform-util.exe self-update 

     

    Up and Coming
    Oct 28, 2021 2:23 PM UTC

    The same problem, after installing the latest version, it gives an error

    * Your copy of Oculus Platform Command Line Utility is old. *
    * Version 1.67.0.000001 has been released on Thu Oct 07 2021. *
    * Please use the following command to update it: *
    *> .. \ .. \ Users \ User \ AppData \ Roaming \ odh \ ovr-platform-util.exe self-update

     

    🙄

    Up and Coming
    Oct 29, 2021 1:57 PM UTC

    The problem was solved only when booting in command line mode.
    In any other cases, we get an error about the need to update, although the latest version is.
    Hopefully this will be fixed soon  ¯\_(ツ)_/¯

    New Participant
    Nov 14, 2021 12:33 AM UTC

    How do you boot in command line mode?

    TIA

    New Participant
    Nov 8, 2021 2:07 PM UTC

    Anyone have a fix for this yet? Its been a week and still can't upload, becoming a major issue.

    New Participant
    Dec 24, 2021 7:48 PM UTC

    Any updates on this?

    Inspiring
    Dec 28, 2021 6:54 AM UTC

    Error upon

     

    Roaming\odh\ovr-platform-util.exe self-update *

    Checking for the latest version
    Already running the latest version 1.67.0.000001

     

    On attempting to push apk bulid to alpha channel using Unity Hub. 

    Up and Coming
    Jan 1, 2022 1:47 AM UTC

    Yes, still seems to be broken, my guess is everyone who had an older version and upgraded in place it's probably working but those of use who are starting with the new version it's not.

    Up and Coming
    Jan 19, 2022 2:32 AM UTC

    OK, I submitted a ticket and after some back and forth with oculus dev support it appears this message is erroneous and can be ignored and is always output from the tool for whatever reason. The ovr-platform-util.exe is actually running and working but it failing a validation check of some kind but is not bothering to display any helpful information after the "Validating build..." message. I'm using Unity and it tends to want to add a bunch of permissions to the .\Assets\Plugins\Android\AndroidManifest.xml file used to build the apk. You could spend time figuring out which package was enabling them by looking inside various compressed files or package files or platform stuff inside of Unity itself but that's a lot of effort when you just want it to remove them. The solution I found to get the validation process to get far enough to display anything useful was to add these lines to the top of the AndroidManifest.xml file. The key was to add the tools schema so you can use the remove command below to remove the offending permission after Unity adds them. This should allow people to get some useful output from the tool and finally be able get an apk file uploaded. Hope this helps someone else.

     

    bold is the new stuff I added to the file.

     

    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    android:installLocation="auto" xmlns:tools="http://schemas.android.com/tools">

    <uses-permission android:name="android.permission.INTERNET" tools:node="remove"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" tools:node="remove"/>
    <uses-permission android:name="android.permission.WAKE_LOCK" tools:node="remove"/>

    New Participant
    Jan 23, 2022 8:05 PM UTC

    Did this work?

    Up and Coming
    Jan 23, 2022 8:37 PM UTC

    Yes, I was able to upload a build to my Alpha channel.

    Up and Coming
    Jan 26, 2022 10:38 PM UTC

    To find out what permissions Unity built into your apk after you build it use the platform tools command appt to check.

    aapt.exe d permissions <apk>