Search Issue Tracker
Duplicate
Votes
0
Found in
2020.2.0a5
Issue ID
1238159
Regression
No
Android device will not connect to Profiler after USB was disconnected, then reconnected
Steps to reproduce:
1. Open attached project "BuildOptionsConnectToHost"
2. In the top menu bar select "Build > Build Android"
3. Open profiler and observe that device has connected and is sending data
4. Disconnect the device from USB
5. Shut down the app
5. Reconnect the device over USB
6. Open the app on the device
7. Profiler will not connect
Expected: Profiler should be able to connect
Actual: After the USB is disconnected, the port forwarding rule gets deleted and the device cannot connect to the editor anymore
You can see the effect of this by writing "adb reverse --list" before disconnecting the device from USB and After (After device is disconnected the rule is just not there anymore)
Reproduced on: 2020.2.0a7 (Though should not be dependent on Unity version, it's an adb issue)
Devices Under Test:
VLNQA00017, Huawei Nexus 6P (Nexus 6P), Android 8.0.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
N/A, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: NOT FOUND, GPU: Mali-G77
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
This is a duplicate of issue #1268987