Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Latest version that can build to Daydream

Discussion in 'VR' started by DarkVerse, Sep 15, 2022.

  1. DarkVerse

    DarkVerse

    Joined:
    Jan 9, 2017
    Posts:
    57
    My apologies if this answer exists somewhere but I just cannot find it.

    I have a need to support and update an existing app that is built on the Daydream platform. The client has a heavy investment in Daydream headsets and wants to continue using them as they are fit for their purpose. I have been away from Unity for a couple of years, and things may have changed, but my recollection was that the latest version of Unity that could build for the Daydream platform was 2018.3, is that right? As it is a dead platform I don't imagine that support for it has been added to any plugin. I don't want to update the project to a newer version if I will loose the ability to build to Daydream.

    Thanks for any help.
     
  2. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
  3. DarkVerse

    DarkVerse

    Joined:
    Jan 9, 2017
    Posts:
    57
    Thanks for the reply. I had seen that link, I am slowly getting my head back into the VR/XR quagmire. I have worked on other projects that I migrated to the Unity XR subsystem and Daydream was no longer possible there, eg https://developers.google.com/cardboard/develop/unity/quickstart

    But I guess if I stay with the old VR system and keep clear of the XR system then I might be able to use the SDK you linked to with a newer version of Unity, worth a shot. I checked the version of the SDK that is in the project and it is 1.100.0 whereas it is now up to 1.200.1

    Thanks.
     
  4. ash_at_unity3d

    ash_at_unity3d

    Unity Technologies

    Joined:
    Jan 9, 2020
    Posts:
    41
    You're welcome, and good luck!
     
  5. DarkVerse

    DarkVerse

    Joined:
    Jan 9, 2017
    Posts:
    57
    Well I tried with 2020.3 but the options in Player Settings/XR Settings to enable VR Support has been removed so I can't see any way to use the old VR system. So it seems like that is a version too far. I am now trying 2019.4. I had forgotten how painful Unity is in this regard, oh well.
     
  6. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    777
    Unity 2018.4 LTS works fine with Daydream. Not sure though if Google will review any updates to label them for Daydream users.
     
  7. DarkVerse

    DarkVerse

    Joined:
    Jan 9, 2017
    Posts:
    57
    Thanks @arfish I tested it with 2019.4.40 and it worked. At first the sample scenes in a fresh clean project did not work but once I diabled Vulkan API they worked fine.
    I am dealing with a few dependencies that require different versions of Unity, the main ones being able to build to Daydream, support for UNET (HLAPI), and an asset that now requires 2019.4+. Fortunately, 2019.4.40 sits in the sweet spot where all requirements are met.
     
    arfish likes this.
  8. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    777
    Ok, I tried earlier versions of 2019 and the performance was terrible compared to 2018. Maybe it's fixed now, or it was the Vulkan API that killed the performance.
     
  9. DarkVerse

    DarkVerse

    Joined:
    Jan 9, 2017
    Posts:
    57
    Hmmm, not sure. I am seeing a lot of messages in logcat and might be a performance issue but only on one scene so far, checking that out.
     
  10. DarkVerse

    DarkVerse

    Joined:
    Jan 9, 2017
    Posts:
    57
    The performance is fine in my pre-existing scenes, however in an added scene, which uses a third party asset that is not used in the other scenes, I am seeing a huge performace hit. Checking it in the performance monitor I see excess time in XR.DeviceSDK and complaints about GPU tasks not finishing. I will need to delve into that to see what this asset is doing to generate that, but apart from that the 2019.4 version (not using Vulkan) is building and deploying well.