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

Issues with Netcode for GameObjects in UWP, Xbox only

Discussion in 'Netcode for GameObjects' started by johnpowrs, Jan 3, 2023.

  1. johnpowrs

    johnpowrs

    Joined:
    Jan 21, 2019
    Posts:
    3
    I'm running my game in client/host mode. The game works fine in UWP desktop as client or host, but on xbox the game freezes and the xbox just completely shuts down (turns off entirely) in client mode only. The game works fine on the xbox as a host (Although it doesn't seem to actually open up a port for me to connect to as a client). What's also odd is that I've seen the game work a couple of times on the xbox as client, but then freeze and shut down on all subsequent attempts.

    I'll see my player spawn, then the game will freeze and then the xbox will turn off.

    I tried deploying from Visual Studio to see if I can get some helpful output, pasted below. The most concerning part for me seems to be the "Access is Denied" errors in the context of Windows.Networking.Connectivity.dll. These errors do not pop up on UWP desktop. However, I've enabled internet and private network capabilities in my app manifest. I've also made sure that the game is being run as a game and not as an app. I've also tried with Direct3D 11 and Direct3D 12.

    Are there any known issues with Netcode for GameObjects around UWP on xbox? Are there any limitations to UWP on xbox that i might be running into? It seems to be related to the client sending data over the network to the server.

    I'm using Unity 2021.3.16f1

    'UOTest.exe' (Win32): Loaded 'D:\DevelopmentFiles\Template2DVS.Release_x64.John_Powers\UOTest.exe'. Symbols loaded.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\kernel32legacy.dll'.
    'UOTest.exe' (Win32): Loaded 'C:3\Apps\Microsoft.VCLibs.x64.14.00\vccorlib140_app.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'.
    'UOTest.exe' (Win32): Loaded 'C:3\Apps\Microsoft.VCLibs.x64.14.00\vcruntime140_1_app.dll'.
    'UOTest.exe' (Win32): Loaded 'C:3\Apps\Microsoft.VCLibs.x64.14.00\vcruntime140_app.dll'.
    'UOTest.exe' (Win32): Loaded 'C:3\Apps\Microsoft.VCLibs.x64.14.00\msvcp140_app.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\forwarders\kernel32.dll'.
    The thread 0x61c has exited with code 0 (0x0).
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\procthreadexthost.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\RemoteWinRT.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\MinUser.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcp110_win.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\gdi32min.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\xamapi.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\EtwPlus.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\xpal.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\xboxlivetitleid.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\usermgrcli.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\procthreadexthostxbox.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\wer.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\DiagnosticDataSettings.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\xosproxy.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryCore.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Graphics.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'.
    Exception thrown at 0x00007FF9942CF95C (KernelBase.dll) in UOTest.exe: WinRT originate error - 0x80070490 : 'Element not found.'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\UserMgrProxy.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\profext.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'.
    onecoreuap\shell\twinapi\applicationview\lib\viewswitcherstatics.cpp(557)\twinapi.appcore.dll!00007FF98F76E380: (caller: 00007FF98F674DA4) ReturnHr(1) tid(a84) 80070490 Element not found.
    CallContext:[\AppRunOrActivateView\SetPreferredLaunchWindowingMode]
    'UOTest.exe' (Win32): Loaded 'D:\DevelopmentFiles\Template2DVS.Release_x64.John_Powers\UnityPlayer.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\mfplat.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\mfreadwrite.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'.
    'UOTest.exe' (Win32): Loaded 'D:\DevelopmentFiles\Template2DVS.Release_x64.John_Powers\WinPixEventRuntime_UAP.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\forwarders\version.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\RTWorkQ.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ExecModelClient.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\XboxUI.Api.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\DeviceFamilyExt.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\rometadata.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Storage.ApplicationData.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.System.Launcher.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi_onecore.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\advapi32legacy.dll'.
    'UOTest.exe' (Win32): Loaded 'D:\DevelopmentFiles\Template2DVS.Release_x64.John_Powers\lib_burst_generated.dll'. Module was built without symbols.
    'UOTest.exe' (Win32): Loaded 'D:\DevelopmentFiles\Template2DVS.Release_x64.John_Powers\GameAssembly.dll'. Symbols loaded.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'.
    'UOTest.exe' (Win32): Loaded 'D:\DevelopmentFiles\Template2DVS.Release_x64.John_Powers\baselib.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\MrmCoreR.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Shell.ServiceHostBuilder.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\execmodelproxy.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\rmclient.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\InputHost.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\UiaManager.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\WindowManagementAPI.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\mswsock.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Networking.Connectivity.dll'.
    Exception thrown at 0x00007FF9942CF95C (KernelBase.dll) in UOTest.exe: WinRT originate error - 0x80070005 : 'Access is denied.'.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\ServiceListener.h(49)\Windows.Networking.Connectivity.dll!00007FF98E0DF628: (caller: 00007FF98E0DF1FA) ReturnHr(1) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(141)\Windows.Networking.Connectivity.dll!00007FF98E0DF212: (caller: 00007FF98E0BC1F7) LogHr(1) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\ServiceListener.h(49)\Windows.Networking.Connectivity.dll!00007FF98E0DF754: (caller: 00007FF98E0DF242) ReturnHr(2) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(155)\Windows.Networking.Connectivity.dll!00007FF98E0DF25A: (caller: 00007FF98E0BC1F7) LogHr(2) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\ServiceListener.h(49)\Windows.Networking.Connectivity.dll!00007FF98E0DF4FC: (caller: 00007FF98E0DF28A) ReturnHr(3) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(169)\Windows.Networking.Connectivity.dll!00007FF98E0DF2A2: (caller: 00007FF98E0BC1F7) LogHr(3) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\ServiceListener.h(49)\Windows.Networking.Connectivity.dll!00007FF98E0DF3D0: (caller: 00007FF98E0DF2D2) ReturnHr(4) tid(1990) 80070005 Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(183)\Windows.Networking.Connectivity.dll!00007FF98E0DF2EA: (caller: 00007FF98E0BC1F7) LogHr(4) tid(1990) 80070005 Access is denied.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.Core.TextInput.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\edgegdi.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Perception.Stub.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Networking.HostName.dll'.
    Exception thrown at 0x00007FF9942CF95C (KernelBase.dll) in UOTest.exe: 0x00000005: Access is denied.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\dnsapi.dll'.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(432)\Windows.Networking.Connectivity.dll!00007FF98E0DEE96: (caller: 00007FF98E0B1ED4) LogHr(5) tid(29c) 80070005 Access is denied.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc6.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\dhcpcsvc.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\FWPUCLNT.DLL'.
    Exception thrown at 0x00007FF9942CF95C (KernelBase.dll) in UOTest.exe: 0x00000005: Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(432)\Windows.Networking.Connectivity.dll!00007FF98E0DEE96: (caller: 00007FF98E0B1ED4) LogHr(6) tid(29c) 80070005 Access is denied.
    Exception thrown at 0x00007FF9942CF95C (KernelBase.dll) in UOTest.exe: 0x00000005: Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(432)\Windows.Networking.Connectivity.dll!00007FF98E0DEE96: (caller: 00007FF98E0B1ED4) LogHr(7) tid(29c) 80070005 Access is denied.
    Exception thrown at 0x00007FF9942CF95C (KernelBase.dll) in UOTest.exe: 0x00000005: Access is denied.
    onecoreuap\net\netprofiles\winrt\networkinformation\lib\handlemanager.cpp(432)\Windows.Networking.Connectivity.dll!00007FF98E0DEE96: (caller: 00007FF98E0B1ED4) LogHr(8) tid(29c) 80070005 Access is denied.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\nlansp_c.dll'.
    onecore\net\netprofiles\service\src\nsp\dll\namespaceserviceprovider.cpp(550)\nlansp_c.dll!00007FF97179D8FD: (caller: 00007FF99409ACF6) LogHr(1) tid(1990) 8007277C No such service is known. The service cannot be found in the specified name space.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.ApplicationModel.dll'.
    onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF99426575D: (caller: 00007FF99426532E) ReturnHr(1) tid(1990) 80073D5B The package does not have a mutable directory.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\DXCore.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'.
    'UOTest.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ciumd_wddm.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\XbRmExt.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\sc_dll.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\xg.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\capauthz.dll'.
    ---------------------------------------------------------
    Xbox User Mode Driver for Direct3D 11.1 / App
    Copyright (C) Microsoft Corporation. All rights reserved.
    ---------------------------------------------------------
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\MFPalSra.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\XboxAppModelState.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryPS.dll'.
    D3D11: Esram memory available: 33554432 bytes.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\scache.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Media.Devices.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Devices.Enumeration.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\DevDispItemProvider.dll'.
    onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FF994627675: (caller: 00007FF99462F25A) ReturnHr(1) tid(c60) 80040154 Class not registered
    onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FF994627675: (caller: 00007FF99462F25A) ReturnHr(2) tid(c60) 80040154 Class not registered
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Storage.OneCore.dll'.
    onecore\base\windows.storage\src\win32proxy.cpp(213)\windows.storage.onecore.dll!00007FF97557E96C: (caller: 00007FF99426A448) Exception(1) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000DBDA2FCE20.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    onecore\base\windows.storage\src\win32proxy.cpp(261)\windows.storage.onecore.dll!00007FF975581216: (caller: 00007FF99426A448) LogHr(1) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    onecore\base\windows.storage\src\win32proxy.cpp(213)\windows.storage.onecore.dll!00007FF97557E96C: (caller: 00007FF99426A448) Exception(2) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000DBDA2FC940.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    onecore\base\windows.storage\src\win32proxy.cpp(261)\windows.storage.onecore.dll!00007FF975581216: (caller: 00007FF99426A448) LogHr(2) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    onecore\base\windows.storage\src\win32proxy.cpp(213)\windows.storage.onecore.dll!00007FF97557E96C: (caller: 00007FF99426A448) Exception(3) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000DBDA2FCF50.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    onecore\base\windows.storage\src\win32proxy.cpp(261)\windows.storage.onecore.dll!00007FF975581216: (caller: 00007FF99426A448) LogHr(3) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    onecore\base\windows.storage\src\win32proxy.cpp(213)\windows.storage.onecore.dll!00007FF97557E96C: (caller: 00007FF99426A448) Exception(4) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000DBDA2FCA70.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    onecore\base\windows.storage\src\win32proxy.cpp(261)\windows.storage.onecore.dll!00007FF975581216: (caller: 00007FF99426A448) LogHr(4) tid(2e0) 8007109C This functionality is not supported in the context of an app container.
    CallContext:[\CreateFile2ProxyActivity]
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'.
    onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FF994627675: (caller: 00007FF99462F25A) ReturnHr(3) tid(2e0) 80040154 Class not registered
    onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FF994627675: (caller: 00007FF99462F25A) ReturnHr(4) tid(2e0) 80040154 Class not registered
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\threadpoolwinrt.dll'.
    The thread 0x9b4 has exited with code 0 (0x0).
    The thread 0x1ae0 has exited with code 0 (0x0).
    onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FF994627675: (caller: 00007FF99462F25A) ReturnHr(5) tid(2e0) 80040154 Class not registered
    onecore\com\combase\objact\objact.cxx(4070)\combase.dll!00007FF994627675: (caller: 00007FF99462F25A) ReturnHr(6) tid(2e0) 80040154 Class not registered
    ---------------------------------------------------------
    Xbox User Mode Driver for Direct3D 11.1 / App
    Copyright (C) Microsoft Corporation. All rights reserved.
    ---------------------------------------------------------
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.StateRepositoryClient.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\BCP47mrm.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Gaming.Input.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Devices.Sensors.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\biwinrt.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreCommonProxyStub.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\deviceaccess.dll'.
    onecore\base\windows.storage\src\win32proxy.cpp(50)\windows.storage.onecore.dll!00007FF97557C35C: (caller: 00007FF97557EA04) ReturnHr(1) tid(19c0) 80070057 The parameter is incorrect.
    CallContext:[\CreateFile2ProxyActivity]
    onecore\base\windows.storage\src\win32proxy.cpp(253)\windows.storage.onecore.dll!00007FF97557EA2C: (caller: 00007FF99426A448) LogHr(5) tid(19c0) 80070001 Incorrect function.
    CallContext:[\CreateFile2ProxyActivity]
    onecore\com\combase\registrationstore\registrationstoredata.cpp(1055)\combase.dll!00007FF9946D8779: (caller: 00007FF9946CD635) ReturnHr(7) tid(19c0) 80070002 The system cannot find the file specified.
    onecoreuap\xbox\devices\api\winrt\pnpdevice.cpp(506)\Windows.Gaming.Input.dll!00007FF98DD4931C: (caller: 00007FF98DD4C9D6) ReturnHr(1) tid(19c0) 80070057 The parameter is incorrect.
    onecoreuap\drivers\mobilepc\sensors\convergence\common\pnpmanager\pnpmanager.cpp(574)\Windows.Devices.Sensors.dll!00007FF9716FA0EE: (caller: 00007FF97164AB9A) Exception(1) tid(a84) 80070002 The system cannot find the file specified.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000DBD97FD9B0.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    The thread 0xfbc has exited with code 0 (0x0).
    onecoreuap\drivers\mobilepc\sensors\convergence\api\winrt\public\internal\simpleorientation.cpp(127)\Windows.Devices.Sensors.dll!00007FF9716F2019: (caller: 00007FF971626125) Exception(2) tid(a84) 80070490 Element not found.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: wil::ResultException at memory location 0x000000DBD97FDBA0.
    Exception thrown at 0x00007FF9942CF95C in UOTest.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
    onecoreuap\drivers\mobilepc\sensors\convergence\api\winrt\public\internal\sensorserver.cpp(74)\Windows.Devices.Sensors.dll!00007FF971623F1D: (caller: 00007FF9716D2FCD) ReturnHr(1) tid(a84) 80070490 Element not found.
    onecoreuap\drivers\mobilepc\sensors\convergence\api\winrt\public\lib\simpleorientationsensor.cpp(100)\Windows.Devices.Sensors.dll!00007FF9716D30C0: (caller: 00007FF9716D0C23) ReturnHr(2) tid(a84) 80070490 Element not found.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\windows.applicationmodel.datatransfer.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\Windows.System.UserDeviceAssociation.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\ClipboardServer.dll'.
    'UOTest.exe' (Win32): Loaded 'C:\Windows\System32\scdxil.dll'.
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +96.5 ms (96.5 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +5.7 ms (102.2 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +8.3 ms (110.5 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +6.9 ms (117.4 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +8.8 ms (126.2 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +6.7 ms (133.0 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +7.6 ms (140.6 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +6.3 ms (146.9 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +41.0 ms (187.8 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +6.9 ms (194.8 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +12.1 ms (206.8 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +15.1 ms (221.9 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    -----------------------------------------------------------
    SC_DLL - Shader Compilation - +12.3 ms (234.3 ms)
    Compilation Reason: No precompiled shaders found, shader blob was either not created by Xbox tools, or was created with the -noprecompile flag.
    -----------------------------------------------------------
    The program '[7124] UOTest.exe' has exited with code -1 (0xffffffff).
     
  2. johnpowrs

    johnpowrs

    Joined:
    Jan 21, 2019
    Posts:
    3
    To help you help me, I come to you with code.

    https://github.com/johnpwrs/netcode_for_gameobjects_xbox

    This is a minimal project in which I try to move a GameObject around on a 2D Isometric Grid using a ClientNetworkTransform. I stripped everything else out of the project to help diagnose the issue. This crashes the Xbox (the Xbox will completely shut down).
     
  3. RikuTheFuffs-U

    RikuTheFuffs-U

    Unity Technologies

    Joined:
    Feb 20, 2020
    Posts:
    440
    Hi @johnpowrs , thanks for highlighting the issue and sharing the code. Would it be possible for you to open a bug report here? In this way, the team behind Netcode For GameObject will be able to prioritize your fix, and you'll be automatically updated about its status.
     
    johnpowrs likes this.
  4. johnpowrs

    johnpowrs

    Joined:
    Jan 21, 2019
    Posts:
    3