Search Unity

Question Hello AR for Unity/HL2 throws RPC error

Discussion in 'AR' started by mattycorbett, Aug 11, 2021.

  1. mattycorbett

    mattycorbett

    Joined:
    May 9, 2021
    Posts:
    13
    Been trying to deploy the sample MS ASA code at "https://docs.microsoft.com/en-us/az.../get-started-unity-hololens?tabs=azure-portal"

    Build fine. Deploys fine for the HL2. During runtime, at the step where the anchor is supposed to publish to my ASA account, i get the errors/exceptions below.

    onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(547)\nlansp_c.dll!00007FF862028188: (caller: 00007FF87335D178) LogHr(2) tid(1ecc) 8007277C No such service is known. The service cannot be found in the specified name space.

    Exception thrown at 0x00007FF873A348CC (KernelBase.dll) in HelloAR U3D.exe: 0x800706BA: The RPC server is unavailable.

    onecore\com\combase\dcomrem\preventrundownbias.cpp(1310)\combase.dll!00007FF8736D5EE8: (caller: 00007FF87370622C) LogHr(1) tid(138c) 800706BA The RPC server is unavailable.

    I've checked my permissions, firewall, and ensures the access information to my SA account is correct multiple times. I've also ensure the DCOM services are active. I've been trying for 3 days, and I'm stumped.
     
  2. RemyJacks

    RemyJacks

    Microsoft Employee

    Joined:
    Jan 4, 2019
    Posts:
    4
    Sorry to hear that you are having this problem. I actually went through this tutorial recently and had no issues. If you can record a feedback hub submission we can more easily take a look. Can you doublecheck that "InternetClientServer" is checked in your Unity Application, and that the Account Key, Account ID, and Account Domain are all correct?
     
  3. mattycorbett

    mattycorbett

    Joined:
    May 9, 2021
    Posts:
    13
    Checked all of the above. Rebuilt an ASA-enabled app from scratch using the tutorial. New program works fine, but keeps throwing RPC exceptions. However, it works, so I'm happy. Thank you for your help.