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

Question I can't connect network using Network Manager in Hololens 2 with PC

Discussion in 'AR' started by jzxc7272, Oct 21, 2020.

  1. jzxc7272

    jzxc7272

    Joined:
    Sep 22, 2020
    Posts:
    1
    Hi there,

    I wanna connect to PC with Hololens 2 using Network Manager(i got it in Mirror at asset store)
    I created Empty object and added a Network manager, Network manager HUD for PC and also input UI buttons (the buttons can be pressed in Hololens 2 ) each button included startHost() , stopHost(), startClient(), stopClient(), serverOnly() , stopServer() on Click function.

    I built for PC using Standalone and built for Hololens 2 using UWP and also checked internetClient and internetClientServer in Player setting.

    I run exe file in PC, i pressed Host button using right hololens 2 in play mode Unity. and pressed Client HUD in exe in PC. So i can watch two cube( it is just prefab) in screen.
    I connected PC to Hololens 2 using USB not WIFI because i don't have WIFI.

    Finally, i run the app in hololens 2 but can not watch another cube and can not use Client. only can use serverOnly button and startHost button.

    how do i fix it ? or is it just internet problem ? or use another script for UDP ?
     

    Attached Files: