Error building Player: IOException: Failed to Move File / Directory from

I build my game with Tizen, and meet this bug. I built success with Android and other.
But with Tizen, I meet it

Error building Player: IOException: Failed to Move File / Directory from ‘E:\Project\Temp\StagingArea\build\com..-1.0.0-arm.tpk’ to ‘E:/Project/a.tpk’.

That’s a difficult issue to figure out. There are several possible points of failure that could lead to that error. Could you try one of these builds and either post or send the editor log to me?

64 bit Windows: https://oc.unity3d.com/index.php/s/az626Wt8SgZIOrZ
32 bit Windows: https://oc.unity3d.com/index.php/s/jydmtVmzJeVHed8
Mac: https://oc.unity3d.com/index.php/s/fOF0P6QmZaqqZ9i

IOException: Failed to Move File / Directory from 'E:\SourceTreeProject\SkywardGame\SkywardTizen\Temp\StagingArea\build\com.luxustudio.skyward-1.0.0-arm.tpk' to 'E:/SourceTreeProject/SkywardGame/SkywardTizen/a.tpk'.
UnityEditor.Tizen.PostProcessTizenPlayer.PostProcess (BuildTarget target, System.String stagingAreaDataUpperCase, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options) (at /Users/builduser/buildslave/unity/build/PlatformDependent/TizenPlayer/Extensions/Managed/BuildPostProcess.cs:166)
UnityEditor.Tizen.TizenBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/TizenPlayer/Extensions/Managed/ExtensionModule.cs:60)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()
Error building Player: IOException: Failed to Move File / Directory from 'E:\SourceTreeProject\SkywardGame\SkywardTizen\Temp\StagingArea\build\com.luxustudio.skyward-1.0.0-arm.tpk' to 'E:/SourceTreeProject/SkywardGame/SkywardTizen/a.tpk'.

There should be much more than that. Could you send the actual editor log to me? Info about its location is here: Unity - Manual: Log files

1 Like

Sorry, here is it.

2267768–151901–Editor.rar (6.79 KB)

Looks like you were using the normal release build. Could you try with one of the debug builds that I linked to above and send the log? It logs a bunch of information about the commands being run and their output that is quite helpful. Thanks!

Here is log with debug

2267796–151919–Editor.rar (5.59 KB)

Sorry but that’s the same build that you used before. The Unity Editor version for this build should be 5.1.2p2

Build with 5.1.2

2267854–151925–Editor.rar (5.97 KB)

No, you must use the build that I posted in this thread. It is not a standard release build but rather a custom build for the purpose of debugging Tizen issues.

Can you send to me another link ? I can’t download from that link. Very low speed and usually disconnect.

Here you go:

Windows 32 bit: https://drive.google.com/open?id=0B-yXGCz0jKkkZXZKMzhMZXh3emM
Windows 64 bit: https://drive.google.com/open?id=0B-yXGCz0jKkkc0FWQUR4bGFqQ1E

1 Like

Thank you. Here is log with debug Unity

2272245–152338–Editor.rar (6.24 KB)

Hello, Any idea about my issue

Not yet. It is very strange that there is no debug output from the Tizen commands in the log. I’m still trying to figure out what could be the issue.

Hi,

Even I am facing the same issue. I am using unity 5.1.3f1 version. While building the example application “Standard Asssets Example Project” for tizen build settings, in the final step I am getting the error "Moving file failed. C:\Users\Public\Documents\Unity Projects\Standard Assets Example Project\Temp\StagingArea\build\com.unity.sampleassets-1.0.0-arm.tpk to C:/Users/xxxx/Desktop/test.tpk: The system cannot find the file specified.

Could you please suggest if I need to do any change in project settings.

Could you try with this debug build and post the editor log after a failure? Thanks. Also, what version of the tizen sdk do you have installed?

Windows 32 bit: https://drive.google.com/open?id=0B-yXGCz0jKkkZXZKMzhMZXh3emM
Windows 64 bit: https://drive.google.com/open?id=0B-yXGCz0jKkkc0FWQUR4bGFqQ1E

I got some helpful input from Samsung that may help out a lot of you who are having trouble. There seems to be a problem with the Tizen SDK installer(and they plan on fixing it soon). Here are the steps to resolve the issue that they gave me.

1.Please create **“[logical drive:\Users[user_id]\AppData\Local.installmanager”**directory and move to this directory.

2.Create “tizensdkpath” file in “[logical drive]:\Users{user_id}\AppData\Local.installmanager”

3.Open “tizensdkpath

4.Write**“TIZEN_SDK_INSTALLED_PATH=[the path of installed Tizen SDK]”** in“tizensdkpath

Ex> TIZEN_SDK_INSTALLED_PATH=C:\tizen-sdk

Can’t create folder with name “.installmanager
What type of “tizensdkpath” file ? .txt ?