Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Project builds locally but not on cloud: Namespace Google not found?

Discussion in 'Unity Build Automation' started by AaronXRDev, Jun 28, 2016.

  1. AaronXRDev

    AaronXRDev

    Joined:
    Dec 13, 2014
    Posts:
    30
    I added the Google VR utilities from the GVR Unity SDK found here:
    https://github.com/googlevr/gvr-unity-sdk/

    When I try to build my app in either Android or iOS it works locally but not in the Cloud build. I get the following errors in the cloud log.

    131: [Unity] Assets/GoogleVR/Scripts/Controller/Internal/Emulator/PhoneEvent.cs(3042,43): error CS0432: Alias `pb' not found
    132: [Unity] Assets/GoogleVR/Scripts/Controller/Internal/Emulator/PhoneEvent.cs(19,12): error CS0400: The type or namespace name `Google' could not be found in the global namespace (are you missing an assembly reference?)


    Anyone know how I could fix this?
     
  2. AaronXRDev

    AaronXRDev

    Joined:
    Dec 13, 2014
    Posts:
    30
    It turns out that .dll files are ignored by default in SourceTree, so they weren't part of the files Unity was trying to build in the cloud. If you make sure the .dll files are checked in properly it resolves this issue.
     
  3. MattGen

    MattGen

    Joined:
    May 12, 2015
    Posts:
    63
    Hi !
    I'm stepping on this same error while trying to build locally, and I don't know how to include those DLLs.
    I'm using Mono, and I can't get anything to work with Google VR sdk 0.8 !
    How can you do that ?
     
  4. AaronXRDev

    AaronXRDev

    Joined:
    Dec 13, 2014
    Posts:
    30
    What are you using to manage your .git repository? If you are using SourceTree I can walk you through including DLL files.
     
  5. ival

    ival

    Joined:
    Aug 4, 2016
    Posts:
    1
    i have the same problem too when i try to play headset demo scene
    can you help me too to fix these dll files

    i'm using GVR Unity SDK v0.8.5