Search Issue Tracker
Fixed in 2022.1.X
Votes
6
Found in
2019.4
2020.3
2021.1
2021.2
2022.1
Issue ID
1109002
Regression
No
[Android] [Linux] "Unable to forward network traffic to device" when trying to Build and Run a Development build
Required: Unity configured to build to Android devices.
Repro steps:
1. Open the attached project
2. Build and run to Android device
3. Notice that the app is installed on the device but is not automatically opened
4. Check the console
Expected result: the app is installed and automatically opened on the device
Actual result: the app is installed but not opened; error thrown:
"CommandInvokationFailure: Unable to forward network traffic to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
/home/unityqa/Android/Sdk/platform-tools/adb -s "efd3a563" forward "tcp:34999" "localabstract:Unity-com.foo.test"
stderr [error: cannot bind listener: Address already in use]
..."
Reproducible with: 5.6.3f1, 2017.1.0b3, 2017.2.0f3, 2017.4.13f1, 2018.2.11f1, 2018.3.0b5, 2019.1.0a11
Tested on: Ubuntu 16.04, Ubuntu 18.04
Issue not specific to a device
Workaround: Close Unity Editor and type the following in terminal: adb -s "xxx" forward "tcp:34999" "localabstract:Unity-com.foo.test"
(however, the port must be forwarded every time system after is restarted)
-
BlackclawsK
Aug 13, 2020 14:11
Issue still exists in 2020.01
-
mlea_unity
Aug 03, 2019 14:14
Still getting it on Ubuntu 18.04 with 2019.2
-
senkal_
Jan 11, 2019 11:58
@Yury-Habets
Thank you for clarification, makes sense.
Looks like I need to read a little how does the issue tracker works in some areas. -
Yury-Habets
Jan 04, 2019 13:05
@senkal_ : that's almost correct. The issue you found was closed as fixed, but it was fixed for release builds only. Development builds still suffer from the forwarding issue. This is why we had to open another bug report.
-
senkal_
Jan 03, 2019 18:11
I think this is a duplicate.
https://issuetracker.unity3d.com/issues/android-slash-linux-unable-to-forward-network-traffic-to-deviceLooks like issue was fixed in 2019, will check later to confirm.
-
senkal_
Jan 03, 2019 17:10
Can confirm the issue.
For me this happened on every version I tried since Unity 2018.2, currently on 2018.2.17f1 and 2018.3.0f2.
I use Mint 18.3 with KDE so basically Ubuntu 16.04.On top of that, in both tested versions, I can't properly close Unity after deployment and reported error, have to manually kill it from task manager. But this issue maybe is not related.
-
imarkroger
Dec 14, 2018 02:07
[deleted spam]
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 2022.1):
Fixed in 2021.2.0b12 and 2022.1.0a8