Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Connection between HL2 and capture device (Iphone) #452

Open
simonjanik opened this issue Jun 8, 2021 · 3 comments
Open

Connection between HL2 and capture device (Iphone) #452

simonjanik opened this issue Jun 8, 2021 · 3 comments

Comments

@simonjanik
Copy link

I am currently trying to get the "Build 2019 Demo" up and running. I followed your instructions on https://github.com/microsoft/MixedReality-SpectatorView and https://github.com/microsoft/MixedReality-SpectatorView/blob/master/samples/Build2019Demo.Unity/README.md to get the application running on HL2 ( System Build 10.0.19041.1131 ) and iOS (iPhone X, 14.5.1).

For the HL2-Deployment i use Unity 2019 2.19f1 on Windows 10 / Visual Studio Community 2019 16.9.5 / NET Framework 4.8.04084.

For the iOS-Deplyoment i use Unity 2019 2.19f1 on MacOS Big Sur 11.3 / XCode 12.5.

Both versions are running, but there is no connection between them. When i look at the logs it seems that iOS cannot make a connection. Also i there are no anchors set, when i look into azure statistics.

Can you please help me to solve this problem?

Here is the HL2 log:
h1

I did a screen capture in unity, because its the same logs as in HL2.

Here is the iOS log:

2021-06-08 12:30:29.913361+0200 Build2019Demo[1034:259218]
Built from '2019.2/staging' branch, Version '2019.2.19f1
(929ab4d01772)', Build type 'Release', Scripting Backend
'il2cpp'
2021-06-08 12:30:29.920227+0200 Build2019Demo[1034:259218] ->
registered mono modules 0x1044c9450
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
[XR] Discovering subsystems at path /private/var/containers/
Bundle/Application/5F236B43-6385-477E-B58F-3663FB63C797/
Build2019Demo.app/Data/UnitySubsystems
[XR] No descriptors matched for examples in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] 1 'inputs' descriptors matched in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json
[XR] No descriptors matched for cameras in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for displays in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for depths in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for meshings in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for planes in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for raycasts in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for referencePoints in
UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for sessions in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for experience in
UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for gestures in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A11 GPU
Initialize engine version: 2019.2.19f1 (929ab4d01772)
2021-06-08 12:30:31.531237+0200 Build2019Demo[1034:259218]
Unbalanced calls to begin/end appearance transitions for
<SplashScreenController: 0x10de75f70>.
UnloadTime: 2.234875 ms
[XR] Loading plugin UnityARKit for subsystem ARKit-Input...
[XR] UnityARKit successfully registered Provider for ARKit-
Input
SpectatorView: Setting up spectator view content to persist
across scenes.
Microsoft.MixedReality.SpectatorView.SpectatorView:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpectatorView: SpectatorView is running as: Spectator.
Expected User IPAddress: 127.0.0.1
Microsoft.MixedReality.SpectatorView.SpectatorView:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpectatorView: Using a network configuration visual. State
synchronization will be delayed until a connection is started
by the user.
Microsoft.MixedReality.SpectatorView.SpectatorView:SetupSpecta
torNetworkConnection()
Microsoft.MixedReality.SpectatorView.SpectatorView:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Profiler is not supported in this build
(Filename: ./Runtime/Profiler/ScriptBindings/
Profiler.bindings.cpp Line: 87)
QRCodeMarkerDetectorSpatialLocalizer: Awake
Microsoft.MixedReality.SpectatorView.QRCodeMarkerDetectorSpati
alLocalizer:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
ArUcoMarkerDetectorSpatialLocalizer: Awake
Microsoft.MixedReality.SpectatorView.ArUcoMarkerDetectorSpatia
lLocalizer:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
ArUcoThreeMarkerSpatialLocalizer: Awake
Microsoft.MixedReality.SpectatorView.ArUcoThreeMarkerSpatialLo
calizer:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpatialCoordinateSystemManager: Registering spatial localizer:
ba5c8ea7-439c-4e1a-9925-218a391ef309
Microsoft.MixedReality.SpectatorView.SpatialCoordinateSystemMa
nager:RegisterSpatialLocalizer(ISpatialLocalizer)
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpatialCoordinateSystemManager: Registering spatial localizer:
fb077e49-b855-453f-9fb5-77187b1af784
Microsoft.MixedReality.SpectatorView.SpatialCoordinateSystemMa
nager:RegisterSpatialLocalizer(ISpatialLocalizer)
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
WARNING: Shader Unsupported: 'Mixed Reality Toolkit/Wireframe'

  • Pass '' has no vertex shader
    WARNING: Shader Unsupported: 'Mixed Reality Toolkit/
    HandTriangles' - Pass '' has no vertex shader
    ERROR: Shader Shader is not supported on this GPU (none of
    subshaders/fallbacks are suitable)WARNING: Shader Unsupported:
    'Mixed Reality Toolkit/HandTriangles' - Setting to default
    shader.
    SpatialCoordinateSystemManager: Registering spatial localizer:
    6cef83a0-1e40-40de-b36b-762974efdbd8
    Microsoft.MixedReality.SpectatorView.SpatialCoordinateSystemMa
    nager:RegisterSpatialLocalizer(ISpatialLocalizer)
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    SpatialCoordinateTransformer: Registering ParticipantConnected
    and ParticipantDisconnected events.
    Microsoft.MixedReality.SpectatorView.SpatialCoordinateTransfor
    mer:Start()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    Setting up 1 worker threads for Enlighten.
    Thread -> id: 16eb27000 -> priority: 1
    2021-06-08 12:30:33.952328+0200 Build2019Demo[1034:259218] -
    [UIWindow endDisablingInterfaceAutorotationAnimated:] called
    on <UIWindow: 0x10f03fe10; frame = (0 0; 375 812); autoresize
    = W+H; gestureRecognizers = <NSArray: 0x2815c0090>; layer =
    <UIWindowLayer: 0x281b1b960>> without matching
    -beginDisablingInterfaceAutorotation. Ignoring.
    2021-06-08 12:30:37.378509+0200 Build2019Demo[1034:259582]
    [Technique] ARWorldTrackingTechnique <0x119285730>: World
    tracking performance is being affected by resource constraints
    [1]
    MobileNetworkConfigurationVisual: Connect was pressed!
    Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio
    nVisual:OnConnectButtonClick()
    UnityEngine.Events.UnityAction:Invoke()
    UnityEngine.Events.UnityEvent:Invoke()
    UnityEngine.EventSystems.EventFunction1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre
    ss(PointerEventData, Boolean, Boolean)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve
    nts()
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    SpectatorView: OnNetworkConfigurationUpdated:
    ipAddress:192.168.0.252
    Microsoft.MixedReality.SpectatorView.SpectatorView:OnNetworkCo
    nfigurationUpdated(Object, String)
    System.Action2:Invoke(T1, T2) Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio nVisual:OnConnectButtonClick() UnityEngine.Events.UnityAction:Invoke() UnityEngine.Events.UnityEvent:Invoke() UnityEngine.EventSystems.EventFunction1:Invoke(T1,
    BaseEventData)
    UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject,
    BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre ss(PointerEventData, Boolean, Boolean) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve nts() UnityEngine.EventSystems.StandaloneInputModule:Process() (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) StateSynchronizationObserver - Not Connected: Awoken! Microsoft.MixedReality.SpectatorView.StateSynchronizationObser ver:Awake() Microsoft.MixedReality.SpectatorView.SpectatorView:RunStateSyn chronizationAsObserver() System.Action2:Invoke(T1, T2)
    Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio
    nVisual:OnConnectButtonClick()
    UnityEngine.Events.UnityAction:Invoke()
    UnityEngine.Events.UnityEvent:Invoke()
    UnityEngine.EventSystems.EventFunction1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre
    ss(PointerEventData, Boolean, Boolean)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve
    nts()
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    Listening on port 7410
    Microsoft.MixedReality.SpectatorView.TCPConnectionManager:DoSt
    artListening(Int32)
    Microsoft.MixedReality.SpectatorView.TCPConnectionManager:Star
    tListening(Int32)
    Microsoft.MixedReality.SpectatorView.StateSynchronizationObser
    ver:Awake()
    Microsoft.MixedReality.SpectatorView.SpectatorView:RunStateSyn
    chronizationAsObserver()
    System.Action2:Invoke(T1, T2) Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio nVisual:OnConnectButtonClick() UnityEngine.Events.UnityAction:Invoke() UnityEngine.Events.UnityEvent:Invoke() UnityEngine.EventSystems.EventFunction1:Invoke(T1,
    BaseEventData)
    UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject,
    BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre ss(PointerEventData, Boolean, Boolean) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve nts() UnityEngine.EventSystems.StandaloneInputModule:Process() (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) Connecting to 192.168.0.252:7410 Microsoft.MixedReality.SpectatorView.TCPConnectionManager:Conn ectTo(String, Int32) System.Action2:Invoke(T1, T2)
    Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio
    nVisual:OnConnectButtonClick()
    UnityEngine.Events.UnityAction:Invoke()
    UnityEngine.Events.UnityEvent:Invoke()
    UnityEngine.EventSystems.EventFunction1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre
    ss(PointerEventData, Boolean, Boolean)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve
    nts()
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    Trying to connect to 192.168.0.252:7410
    Microsoft.MixedReality.SpectatorView.SocketClient:ClientThread
    Func()
    System.Threading.ThreadStart:Invoke()
    System.Threading.ContextCallback:Invoke(Object)
    System.Threading.ExecutionContext:RunInternal(ExecutionContext
    , ContextCallback, Object, Boolean)
    System.Threading.ThreadStart:Invoke()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

An error occurred while accessing the socket: System.Net.Sockets.SocketException (0x80004005): Connection timed out at System.Net.Sockets.Socket.Connect (System.Net.EndPoint
remoteEP) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Sockets.TcpClient.Connect (System.String
hostname, System.Int32 port) [0x00000] in
<00000000000000000000000000000000>:0
at System.Net.Sockets.TcpClient..ctor (System.String
hostname, System.Int32 port) [0x00000] in
<00000000000000000000000000000000>:0
at
Microsoft.MixedReality.SpectatorView.SocketerClient+SocketClie
nt.Connect () [0x00000] in
<00000000000000000000000000000000>:0
at
Microsoft.MixedReality.SpectatorView.SocketerClient+SocketClie
nt.ClientThreadFunc () [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ThreadStart.Invoke () [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ContextCallback.Invoke (System.Object
state) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal
(System.Threading.ExecutionContext executionContext,
System.Threading.ContextCallback callback, System.Object
state, System.Boolean preserveSyncCtx) [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ThreadStart.Invoke () [0x00000] in
<00000000000000000000000000000000>:0
Microsoft.MixedReality.SpectatorView.SocketClient:Connect()
Microsoft.MixedReality.SpectatorView.SocketClient:ClientThread
Func()
System.Threading.ThreadStart:Invoke()
System.Threading.ContextCallback:Invoke(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext
, ContextCallback, Object, Boolean)
System.Threading.ThreadStart:Invoke()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Trying to connect to 192.168.0.252:7410
Microsoft.MixedReality.SpectatorView.SocketClient:ClientThread
Func()
System.Threading.ThreadStart:Invoke()
System.Threading.ContextCallback:Invoke(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext
, ContextCallback, Object, Boolean)
System.Threading.ThreadStart:Invoke()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-> applicationWillResignActive()

@MetaZhi
Copy link

MetaZhi commented Jun 9, 2021

Hi, if you are using azure spatial anchor for alignment, the min version of asa is 2.7 now, you need update asa sdk to 2.7. or later.
If Unity 2019.4, asa sdk 2.8.1 will be the best choice.

@simonjanik
Copy link
Author

Can you tell me how to update those dependencies in the "Build 2019 Demo"? There is no ASA SDK in the package manifest.

@warlock07
Copy link

I am currently trying to get the "Build 2019 Demo" up and running. I followed your instructions on https://github.com/microsoft/MixedReality-SpectatorView and https://github.com/microsoft/MixedReality-SpectatorView/blob/master/samples/Build2019Demo.Unity/README.md to get the application running on HL2 ( System Build 10.0.19041.1131 ) and iOS (iPhone X, 14.5.1).

For the HL2-Deployment i use Unity 2019 2.19f1 on Windows 10 / Visual Studio Community 2019 16.9.5 / NET Framework 4.8.04084.

For the iOS-Deplyoment i use Unity 2019 2.19f1 on MacOS Big Sur 11.3 / XCode 12.5.

Both versions are running, but there is no connection between them. When i look at the logs it seems that iOS cannot make a connection. Also i there are no anchors set, when i look into azure statistics.

Can you please help me to solve this problem?

Here is the HL2 log: h1

I did a screen capture in unity, because its the same logs as in HL2.

Here is the iOS log:

2021-06-08 12:30:29.913361+0200 Build2019Demo[1034:259218]
Built from '2019.2/staging' branch, Version '2019.2.19f1
(929ab4d01772)', Build type 'Release', Scripting Backend
'il2cpp'
2021-06-08 12:30:29.920227+0200 Build2019Demo[1034:259218] ->
registered mono modules 0x1044c9450
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
[XR] Discovering subsystems at path /private/var/containers/
Bundle/Application/5F236B43-6385-477E-B58F-3663FB63C797/
Build2019Demo.app/Data/UnitySubsystems
[XR] No descriptors matched for examples in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] 1 'inputs' descriptors matched in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json
[XR] No descriptors matched for cameras in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for displays in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for depths in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for meshings in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for planes in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for raycasts in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for referencePoints in
UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for sessions in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for experience in
UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
[XR] No descriptors matched for gestures in UnitySubsystems/
UnityARKit/UnitySubsystemsManifest.json.
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A11 GPU
Initialize engine version: 2019.2.19f1 (929ab4d01772)
2021-06-08 12:30:31.531237+0200 Build2019Demo[1034:259218]
Unbalanced calls to begin/end appearance transitions for
<SplashScreenController: 0x10de75f70>.
UnloadTime: 2.234875 ms
[XR] Loading plugin UnityARKit for subsystem ARKit-Input...
[XR] UnityARKit successfully registered Provider for ARKit-
Input
SpectatorView: Setting up spectator view content to persist
across scenes.
Microsoft.MixedReality.SpectatorView.SpectatorView:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpectatorView: SpectatorView is running as: Spectator.
Expected User IPAddress: 127.0.0.1
Microsoft.MixedReality.SpectatorView.SpectatorView:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpectatorView: Using a network configuration visual. State
synchronization will be delayed until a connection is started
by the user.
Microsoft.MixedReality.SpectatorView.SpectatorView:SetupSpecta
torNetworkConnection()
Microsoft.MixedReality.SpectatorView.SpectatorView:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Profiler is not supported in this build
(Filename: ./Runtime/Profiler/ScriptBindings/
Profiler.bindings.cpp Line: 87)
QRCodeMarkerDetectorSpatialLocalizer: Awake
Microsoft.MixedReality.SpectatorView.QRCodeMarkerDetectorSpati
alLocalizer:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
ArUcoMarkerDetectorSpatialLocalizer: Awake
Microsoft.MixedReality.SpectatorView.ArUcoMarkerDetectorSpatia
lLocalizer:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
ArUcoThreeMarkerSpatialLocalizer: Awake
Microsoft.MixedReality.SpectatorView.ArUcoThreeMarkerSpatialLo
calizer:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpatialCoordinateSystemManager: Registering spatial localizer:
ba5c8ea7-439c-4e1a-9925-218a391ef309
Microsoft.MixedReality.SpectatorView.SpatialCoordinateSystemMa
nager:RegisterSpatialLocalizer(ISpatialLocalizer)
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
SpatialCoordinateSystemManager: Registering spatial localizer:
fb077e49-b855-453f-9fb5-77187b1af784
Microsoft.MixedReality.SpectatorView.SpatialCoordinateSystemMa
nager:RegisterSpatialLocalizer(ISpatialLocalizer)
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
WARNING: Shader Unsupported: 'Mixed Reality Toolkit/Wireframe'

  • Pass '' has no vertex shader
    WARNING: Shader Unsupported: 'Mixed Reality Toolkit/
    HandTriangles' - Pass '' has no vertex shader
    ERROR: Shader Shader is not supported on this GPU (none of
    subshaders/fallbacks are suitable)WARNING: Shader Unsupported:
    'Mixed Reality Toolkit/HandTriangles' - Setting to default
    shader.
    SpatialCoordinateSystemManager: Registering spatial localizer:
    6cef83a0-1e40-40de-b36b-762974efdbd8
    Microsoft.MixedReality.SpectatorView.SpatialCoordinateSystemMa
    nager:RegisterSpatialLocalizer(ISpatialLocalizer)
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    SpatialCoordinateTransformer: Registering ParticipantConnected
    and ParticipantDisconnected events.
    Microsoft.MixedReality.SpectatorView.SpatialCoordinateTransfor
    mer:Start()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    Setting up 1 worker threads for Enlighten.
    Thread -> id: 16eb27000 -> priority: 1
    2021-06-08 12:30:33.952328+0200 Build2019Demo[1034:259218] -
    [UIWindow endDisablingInterfaceAutorotationAnimated:] called
    on <UIWindow: 0x10f03fe10; frame = (0 0; 375 812); autoresize
    = W+H; gestureRecognizers = <NSArray: 0x2815c0090>; layer =
    <UIWindowLayer: 0x281b1b960>> without matching
    -beginDisablingInterfaceAutorotation. Ignoring.
    2021-06-08 12:30:37.378509+0200 Build2019Demo[1034:259582]
    [Technique] ARWorldTrackingTechnique <0x119285730>: World
    tracking performance is being affected by resource constraints
    [1]
    MobileNetworkConfigurationVisual: Connect was pressed!
    Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio
    nVisual:OnConnectButtonClick()
    UnityEngine.Events.UnityAction:Invoke()
    UnityEngine.Events.UnityEvent:Invoke()
    UnityEngine.EventSystems.EventFunction1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre
    ss(PointerEventData, Boolean, Boolean)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve
    nts()
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    SpectatorView: OnNetworkConfigurationUpdated:
    ipAddress:192.168.0.252
    Microsoft.MixedReality.SpectatorView.SpectatorView:OnNetworkCo
    nfigurationUpdated(Object, String)
    System.Action2:Invoke(T1, T2) Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio nVisual:OnConnectButtonClick() UnityEngine.Events.UnityAction:Invoke() UnityEngine.Events.UnityEvent:Invoke() UnityEngine.EventSystems.EventFunction1:Invoke(T1,
    BaseEventData)
    UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject,
    BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre ss(PointerEventData, Boolean, Boolean) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve nts() UnityEngine.EventSystems.StandaloneInputModule:Process() (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) StateSynchronizationObserver - Not Connected: Awoken! Microsoft.MixedReality.SpectatorView.StateSynchronizationObser ver:Awake() Microsoft.MixedReality.SpectatorView.SpectatorView:RunStateSyn chronizationAsObserver() System.Action2:Invoke(T1, T2)
    Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio
    nVisual:OnConnectButtonClick()
    UnityEngine.Events.UnityAction:Invoke()
    UnityEngine.Events.UnityEvent:Invoke()
    UnityEngine.EventSystems.EventFunction1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre
    ss(PointerEventData, Boolean, Boolean)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve
    nts()
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    Listening on port 7410
    Microsoft.MixedReality.SpectatorView.TCPConnectionManager:DoSt
    artListening(Int32)
    Microsoft.MixedReality.SpectatorView.TCPConnectionManager:Star
    tListening(Int32)
    Microsoft.MixedReality.SpectatorView.StateSynchronizationObser
    ver:Awake()
    Microsoft.MixedReality.SpectatorView.SpectatorView:RunStateSyn
    chronizationAsObserver()
    System.Action2:Invoke(T1, T2) Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio nVisual:OnConnectButtonClick() UnityEngine.Events.UnityAction:Invoke() UnityEngine.Events.UnityEvent:Invoke() UnityEngine.EventSystems.EventFunction1:Invoke(T1,
    BaseEventData)
    UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject,
    BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre ss(PointerEventData, Boolean, Boolean) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve nts() UnityEngine.EventSystems.StandaloneInputModule:Process() (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) Connecting to 192.168.0.252:7410 Microsoft.MixedReality.SpectatorView.TCPConnectionManager:Conn ectTo(String, Int32) System.Action2:Invoke(T1, T2)
    Microsoft.MixedReality.SpectatorView.MobileNetworkConfiguratio
    nVisual:OnConnectButtonClick()
    UnityEngine.Events.UnityAction:Invoke()
    UnityEngine.Events.UnityEvent:Invoke()
    UnityEngine.EventSystems.EventFunction1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPre
    ss(PointerEventData, Boolean, Boolean)
    UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEve
    nts()
    UnityEngine.EventSystems.StandaloneInputModule:Process()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    Trying to connect to 192.168.0.252:7410
    Microsoft.MixedReality.SpectatorView.SocketClient:ClientThread
    Func()
    System.Threading.ThreadStart:Invoke()
    System.Threading.ContextCallback:Invoke(Object)
    System.Threading.ExecutionContext:RunInternal(ExecutionContext
    , ContextCallback, Object, Boolean)
    System.Threading.ThreadStart:Invoke()
    (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

An error occurred while accessing the socket: System.Net.Sockets.SocketException (0x80004005): Connection timed out at System.Net.Sockets.Socket.Connect (System.Net.EndPoint
remoteEP) [0x00000] in <00000000000000000000000000000000>:0
at System.Net.Sockets.TcpClient.Connect (System.String
hostname, System.Int32 port) [0x00000] in
<00000000000000000000000000000000>:0
at System.Net.Sockets.TcpClient..ctor (System.String
hostname, System.Int32 port) [0x00000] in
<00000000000000000000000000000000>:0
at
Microsoft.MixedReality.SpectatorView.SocketerClient+SocketClie
nt.Connect () [0x00000] in
<00000000000000000000000000000000>:0
at
Microsoft.MixedReality.SpectatorView.SocketerClient+SocketClie
nt.ClientThreadFunc () [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ThreadStart.Invoke () [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ContextCallback.Invoke (System.Object
state) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal
(System.Threading.ExecutionContext executionContext,
System.Threading.ContextCallback callback, System.Object
state, System.Boolean preserveSyncCtx) [0x00000] in
<00000000000000000000000000000000>:0
at System.Threading.ThreadStart.Invoke () [0x00000] in
<00000000000000000000000000000000>:0
Microsoft.MixedReality.SpectatorView.SocketClient:Connect()
Microsoft.MixedReality.SpectatorView.SocketClient:ClientThread
Func()
System.Threading.ThreadStart:Invoke()
System.Threading.ContextCallback:Invoke(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext
, ContextCallback, Object, Boolean)
System.Threading.ThreadStart:Invoke()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Trying to connect to 192.168.0.252:7410
Microsoft.MixedReality.SpectatorView.SocketClient:ClientThread
Func()
System.Threading.ThreadStart:Invoke()
System.Threading.ContextCallback:Invoke(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext
, ContextCallback, Object, Boolean)
System.Threading.ThreadStart:Invoke()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-> applicationWillResignActive()

have you solve this issue,i can not connect to hololens2 too.please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants