Search Issue Tracker

Fixed in 5.6.0

Votes

1

Found in

5.5.0f2

Issue ID

853474

Regression

No

[Android] Editor failed to push OBB to the SGS6 devices

Android

-

[Android] Editor failed to push obb to the SGS6 devices

DUT: Reproed only on SGS6 running aOS 6.0.1/MMB29K
samsung SM-G920F [zeroflte] : 6.0.1 [MMB29K]
samsung SM-G925F [zerolte] : 6.0.1 [MMB29K]

STR:
1. Try to build and run attached repro on specified devices
2. Notice the editor error during pushing obb to the device:
CommandInvokationFailure: Unable to push local file to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.
C:/Android/sdk\platform-tools\adb.exe -s "05157df580154b28" push "D:\_CurrentTesting\5x\AndroidOBB\Temp\StagingArea\main.obb" "/sdcard/Android/obb/com.utesting.obbtest40rel/main.26.com.utesting.obbtest40rel.obb"

stderr[

]
stdout[
[ 0%] /sdcard/Android/obb/com.utesting.obbtest40rel/main.26.com.utesting.obbtest40rel.obb
[ 0%] /sdcard/Android/obb/com.utesting.obbtest40rel/main.26.com.utesting.obbtest40rel.obb
[ 0%] /sdcard/Android/obb/com.utesting.obbtest40rel/main.26.com.utesting.obbtest40rel.obb
adb: error: failed to copy 'D:\_CurrentTesting\5x\AndroidOBB\Temp\StagingArea\main.obb' to '/sdcard/Android/obb/com.utesting.obbtest40rel/main.26.com.utesting.obbtest40rel.obb': Permission denied
]
exit code: 1
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.ADB.RunInternal (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.ADB.Run (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidDevice.Exec (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.AndroidDevice.Push (System.String src, System.String dst, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit)
UnityEditor.Android.PostProcessor.Tasks.PublishPackage.UploadAndStartPlayer (UnityEditor.Android.PostProcessor.PostProcessorContext context, Boolean retryUpload)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

3. !!! Reproed only on specified SGS6 devices. Both with Mac and Win Editor. Other devices hav no such errors,- pushing and starting apk+obb works fine.

Comments (1)

  1. swiftfinder

    Mar 07, 2020 00:27

    Find nearest Oreillys stores right here:
    https://findplacesnearme.com/oreillys-auto-parts-store/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.