Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Pierre_FR's avatar
Pierre_FR
Protege
9 years ago

ovr-platform-util.exe and redistributables issues

I tried my game and its new email script before sending it to Oculus Store and it worked.
Then I sent it to update my existing app and download it through Oculus Home to test it again, it crashed.

Edit, crash is related to:
smtpServer.Send(mail);

I configure my app with "Internet connection not required" because it's not required to play, only to send an email.

Any idea how to fix it?

9 Replies

Replies have been turned off for this discussion
  • You have to set
    Internet access > Require
    the script you are using to send email require Internet connection.
  • Well I badly said it, "Internet connection not required" is only in Oculus Dashboard, not in Unity.
    1) I can contact Google website to try if internet connection is OK
    2) I can't send an email because it's causing a crash
    That would mean Oculus is preventing my app from sending an email but let me contact a website.
    As soon as can, I'll try changing that parameter in the dashboard.
  • I found why it crash!





    When I send my app, Oculus Store modify 4 files located
    in "...\Managed":



    - Mono.Security.dll



    - mscorlib.dll



    - System.Core.dll



    - System.dll






    I think it's related to the parameter "Internet
    connection not required" in Oculus Dashboard.



    But I can't modify that parameter for now because my game is
    still "in review": "Your submission is awaiting review so you
    can't make changes at this time."




  • It's not related to the "Internet
    connection not required" parameter in Oculus Dashboard.

    1) There
    is an issue with "ovr-platform-util.exe".

    It don't
    install the needed redistributables.



     



    I tried
    to install all redistributables with -r "606493776156948, 133610290311340,
    1617306711884127, 822786567843179, 1147517301974655, 1604897159783747,
    118440348500045, 532320330249657, 1008652072555515, 1683508698536289,
    1002692246447245, 1675031999409058, 910524935693407, 1183534128364060,
    1113033105419344, 1315322525257173, 1064693870299984"



    And it simply
    doesn't work.



     



    2) My
    current fix is to use the "upload a new binary" form on https://dashboard.oculus.com/application/***/build
    and add the needed redistributables in that form.



    But I
    need to send my entire game for each updates.



     



    3) For
    info (https://dashboard.oculus.com/tools/cli):



    606493776156948
    = .NET Framework 3.5 but it's not present in the "upload a new binary"
    form on https://dashboard.oculus.com/application/***/build





    1315322525257173
    (Visual C++ 2017) and 1064693870299984 (Visual C++ 2017 x86) are invalid
    redistributable IDs ("ovr-platform-util.exe" said it).










  • Unfortunately it's not working:
    I updated CLI tool with x64-Windows: https://dashboard.oculus.com/tools/cli/
    Uploaded my game on the BETA channel again and the bug is still present.
    I need .NET Framework 4.0 to send an email from the game.
    I tried to select all redistributables to make a 2nd test and it still doesn't work.
    It's possible to see the difference between public STORE channel (added .NET Framework 4.0 on https://dashboard.oculus.com/application/***/build)
    and for the BETA channel ("added" .NET Framework 4.0 with CLI tool but
    it's not really added due to the bug). Let me know if you need more
    info.
  • Repro steps are:
    1) Upload with ovr-platform-util.exe with -r "133610290311340, 532320330249657" parameters
    2) When downloading the game on Oculus Store in the BETA channel, I noticed 4 differences between the original (before upload) and the downloaded version in "\Managed" folder.
    3) The 4 differences are 4 files: Mono.Security.dll, mscorlib.dll, System.Core.dll and System.dll

    There is also a working version on the STORE channel, because it's uploaded with https://dashboard.oculus.com/application/***/build

    In the game, if we go in "Level Editor / Load Maps / Edit / Menu button / Save and go back to menu" then a new feature let you send the custom map through a smtp server.
    In the BETA channel (uploaded with ovr-platform-util.exe), it's crashing when you try to send the email.
    In the STORE channel (uploaded with https://dashboard.oculus.com), it's working.


  • HI Pierre,

    Did you ever solve this issue? We are having a very similar issue where our app works until uploading a build - at that point we can contact google to verify internet connection is not working, but we cannot use other ports.

    Thank you,
    Ryan