Hello all, I'm working with Hololens and PhotonNetworking. I use the Mixed Reality Tookit within Unity. Everything work well in the editor, but after building the app with IL2CPP (because .NET generate some errors with photon). I built it the Visual Basic 2017 until here everything work well. When I get the deploying step I get the error bellow. I just show the unity logo and nothing else. I already try many option find in internet but nothing. I have test with Unity 2017.3.1f1, 2018.1.0b9 and 2018.2.0.b4, I get the same error. Help me please !
'ProjetXIRA.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
Loading PlaneFinding.dll
Loading PerceptionSimulationManager.dll
Exception thrown at 0x77412552 in ProjetXIRA.exe: Microsoft C++ exception: Cn::XH at memory location 0x013FE3D4.
'ProjetXIRA.exe' (Win32): Loaded 'U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\ProjetXIRAVS.Debug_Win32.user\PerceptionSimulationManager.dll'. Cannot find or open the PDB file.
Loading Microsoft.Perception.Simulation.dll
Failed to load 'Microsoft.Perception.Simulation', expected x86 architecture, but was Unknown architecture. You must recompile your plugin for x86 architecture.
(Filename: C:\buildslave\unity\build\Runtime/Misc/Plugins.cpp Line: 185)
Loading GpuTiming.dll
Loading SharingClient.dll
Failed to load 'PerceptionRemotingPlugin', expected x86 architecture, but was Unknown architecture. You must recompile your plugin for x86 architecture.
(Filename: C:\buildslave\unity\build\Runtime/Misc/Plugins.cpp Line: 185)
Loading SpatialUnderstanding.dll
Failed to load 'HolographicStreamerDesktop', expected x86 architecture, but was Unknown architecture. You must recompile your plugin for x86 architecture.
(Filename: C:\buildslave\unity\build\Runtime/Misc/Plugins.cpp Line: 185)
[XR] Discovering subsystems at path C:/Data/Users/DefaultAccount/AppData/Local/DevelopmentFiles/ProjetXIRAVS.Debug_Win32.user/Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: HoloLens Graphics (ID=0x22b0)
Vendor: (null)
VRAM: 604 MB
Exception thrown at 0x77412552 in ProjetXIRA.exe: Microsoft C++ exception: wil::ResultException at memory location 0x013FDAD0.
The following GlobalManagers were stripped from the build (Either because they're not used or not supported on this platform):
ClusterInputManager
CrashReportManager
PerformanceReportingManager
If your machine has multiple graphics adapters, Unity may have created a WindowContext on the wrong adapter. If you experience a black screen when playing, please restart the Editor.
(Filename: C:\buildslave\unity\build\Runtime/VR/VRDevice.cpp Line: 286)
[0.055266 / 68.582407] - OnCoreWindowSizeChanged event (0.00, 0.00, 845.33, 480.00), m_Initialized=True.
Created eye textures with a "separate" layout. The "multi-pass" stereo mode will be used.
(Filename: C:\buildslave\unity\build\Runtime/VR/VRDevice.cpp Line: 2158)
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 387)
Using PingWindowsStore
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
NetworkingPeer:SetupProtocol(ServerConnection)
NetworkingPeer:ConnectToNameServer()
PhotonNetwork:ConnectToBestCloudServer(String)
PhotonNetwork:ConnectUsingSettings(String)
NetworkManager:ConnectName(String)
NetworkManager:Awake()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
ERROR SensorOpenByType:Failed to open sensor error:0x00000490
'ProjetXIRA.exe' (Win32): Loaded 'C:\Windows\System32\rometadata.dll'. Symbols loaded.
Failed to get spatial stage statics - can't retrieve or interact with boundaries! Error code: '0x80040154'.
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/StageRoot.cpp Line: 20)
The thread 0x1240 has exited with code 0 (0x0).
Exception thrown at 0x77412552 in ProjetXIRA.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x022FCBE8.
MissingMethodException: Default constructor not found for type ExitGames.Client.Photon.PingWindowsStore
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
d__25:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
PhotonHandler:PingAvailableRegionsAndConnectToBest()
NetworkingPeer:OnOperationResponse(OperationResponse)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update()
(Filename: currently not available on il2cpp Line: -1)
Exception thrown at 0x77412552 in ProjetXIRA.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x022FCBE8.
MissingMethodException: Default constructor not found for type ExitGames.Client.Photon.PingWindowsStore
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
d__25:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
PhotonHandler:PingAvailableRegionsAndConnectToBest()
NetworkingPeer:OnOperationResponse(OperationResponse)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update()
(Filename: currently not available on il2cpp Line: -1)
Exception thrown at 0x77412552 in ProjetXIRA.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x022FCBE8.
MissingMethodException: Default constructor not found for type ExitGames.Client.Photon.PingWindowsStore
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
d__25:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
PhotonHandler:PingAvailableRegionsAndConnectToBest()
NetworkingPeer:OnOperationResponse(OperationResponse)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update()
(Filename: currently not available on il2cpp Line: -1)
'ProjetXIRA.exe' (Win32): Unloaded 'C:\Windows\System32\Windows.ApplicationModel.dll'
The thread 0x7f4 has exited with code 0 (0x0).
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 387)
The thread 0x10ac has exited with code 0 (0x0).
Windows Mixed Reality spatial locatability state changed to Active.
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 387)
Windows Mixed Reality spatial locatability state changed to Inhibited.
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/HoloLensWorldManager.cpp Line: 387)
The thread 0x1214 has exited with code 0 (0x0).
`
Sincerely yours