11-16-2023 05:46 PM
I am very new to Unreal so I apologize if this is a stupid question and I'm missing something obvious. I've been through the Meta documentation on this sample and have searched the web and can't find anything related or anyone else that has encountered this issue. I did not try this sample project on any previous versions of Unreal so I'm unsure if this is an issue with the new Oculus-VR build of UE5.3.
Any help would be greatly appreciated!
This is the relevant section of the output log when trying to build:
Running: C:\Users\Aleistor\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 2G0YC1ZF850S41 install -r "C:\Unreal Engine 5\UnrealEngine\Samples\Oculus\SpatialAnchorsSample 5.3\Binaries/Android\SpatialAnchorsSample-arm64.apk" LogPlayLevel: UAT: Performing Streamed Install LogPlayLevel: UAT: Success LogPlayLevel: UAT: Took 5.02s to run adb.exe, ExitCode=0 LogPlayLevel: UAT: Attempting to connect to file server [USB] LogPlayLevel: UAT: Not connected, attempting to start file server LogPlayLevel: UAT: Connected to RemoteFileManager LogPlayLevel: UAT: Creating UECommandLine.txt LogPlayLevel: UAT: Deploying files using AFS LogPlayLevel: UAT: 0> Unexpected Exception: System.Net.Sockets.SocketException (10053😞 An established connection was aborted by the software in your host machine. LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Flush() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 915 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.FileWrite(String SourcePath, String DestPath, Int32 bLog) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 2018 LogPlayLevel: UAT: SocketException: System.Net.Sockets.SocketException (10053😞 An established connection was aborted by the software in your host machine. LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Flush() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 915 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Append(Byte[] packet, Int32 writeSize) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 945 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.SocketSend(Boolean bPayload, Byte[] packet) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 963 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.CloseConnection() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 1777 LogPlayLevel: UAT: 0> Unexpected Exception: System.Net.Sockets.SocketException (10053😞 An established connection was aborted by the software in your host machine. LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Flush() in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 915 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.Batch_Append(Byte[] packet, Int32 writeSize) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 945 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.SocketSend(Boolean bPayload, Byte[] packet) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 963 LogPlayLevel: UAT: at AutomationTool.AndroidFileClient.FileWrite(String SourcePath, String DestPath, Int32 bLog) in C:\Unreal Engine 5\UnrealEngine\Engine\Source\Programs\AutomationTool\Android\AndroidFileClient.cs:line 1992
11-29-2023 03:45 PM
I would disable Android File Server in project settings, just build the .apk and don't deploy it to the device.
Then i would install the apk separatedly using adb install "path_to_your_apk"
03-17-2024 08:24 PM
I was able to fix this by disabling windows defender for my project directory