Description

The game crashed when the USB Dongle is connected or disconnected.

Games that made by other engines are work fine.

Refer to the attached video for the reproduce.

Steps to Reproduce
  1. run any UE4 sample on android device
  2. connect USB dongle for wireless mouse
  3. game is crashed
Callstack

find attached usb_crash_log2.txt for full log

 

06-01 15:38:12.597 2623 2999 I adbd : UsbFfs: connection terminated: read 8428 failed with error Cannot send after transport endpoint shutdown
06-01 15:38:12.598 2623 2623 I adbd : UsbFfs: offline
06-01 15:38:12.598 2623 2623 I adbd : ADB disconnect
06-01 15:38:12.598 2623 2623 I adbd : destroying transport UsbFfs
06-01 15:38:12.598 2623 2623 I adbd : UsbFfsConnection being destroyed
06-01 15:38:12.598 1016 2655 D AdbDebuggingManager: Received disconnected message:

 

06-02 01:37:14.018 1016 1299 W InputDispatcher: channel 'c67b050 com.EpicLRT.ActionRPGSample/com.epicgames.ue4.GameActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9, fd=643
06-02 01:37:14.018 1016 1299 E InputDispatcher: channel 'c67b050 com.EpicLRT.ActionRPGSample/com.epicgames.ue4.GameActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-02 01:37:14.040 28803 28803 E Zygote : accessInfo : 2
06-02 01:37:14.040 28803 28803 E Zygote : setSDPgroupsIntarray[pid]: 0 / [gid]: 1105004 / [uid]: 1105004
06-02 01:37:14.045 1548 1682 D NetworkController.MobileSignalController(0/1): onSignalStrengthsChanged signalStrength=SignalStrength:{mCdma=Invalid,mGsm=Invalid,mWcdma=Invalid,mTdscdma=Invalid,mLte=CellSignalStrengthLte: rssi=-61 rsrp=-79 rsrq=-11 rssnr=190 cqi=7 ta=2147483647 level=4,mNr=Invalid,SignalBarInfo

{ lteLevel=4 }

,rat=14,primary=CellSignalStrengthLte} level=4
06-02 01:37:14.046 1548 1682 D NetworkController.MobileSignalController(0/1): getMobileIconGroup(): 13
06-02 01:37:14.046 1548 1682 D NetworkController.MobileSignalController(0/1): updateKTTMobileIconGroup(): 13
06-02 01:37:14.046 1548 1548 D CarrierInformationNetworkHelper: isSIMandOperatorMatched() simNumeric:45008, SIM is matched!!!
06-02 01:37:14.049 28803 28803 E ng.storyservic: Not starting debugger since process cannot load the jdwp agent.
06-02 01:37:14.056 1016 2333 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ LISTEN id=2586, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND Uid: 10612] ], android.os.BinderProxy@f2548da)
06-02 01:37:14.056 1016 1320 D InputTransport: Input channel destroyed: 'ClientS', fd=530
06-02 01:37:14.056 1016 1358 D ConnectivityService: releasing NetworkRequest [ LISTEN id=2586, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&FOREGROUND Uid: 10612] ] (release request)
06-02 01:37:14.056 28803 28803 D ActivityThread: setConscryptValidator
06-02 01:37:14.057 532 532 I Zygote : Process 28093 exited cleanly (0)
06-02 01:37:14.057 593 764 V APM_AudioPolicyManager: releaseOutput() 29, portId 1206
06-02 01:37:14.057 28803 28803 D ActivityThread: setConscryptValidator - put
06-02 01:37:14.058 1016 4396 I ActivityManager: Process com.EpicLRT.ActionRPGSample (pid 28093) has died: fore TOP (905,2454)
06-02 01:37:14.058 1016 1119 I libprocessgroup: Successfully killed process cgroup uid 10612 pid 28093 in 0ms

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-116891 in the post.

3
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.25plus4.26.24.27
Target Fix5.0
Fix Commit19366087
Main Commit19367967
Release Commit19366087
CreatedJun 1, 2021
ResolvedMar 12, 2022
UpdatedJan 26, 2023