Search Unity

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

Discussion in 'Tizen' started by noblakit01, Aug 25, 2015.

  1. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    There is a known issue with using TIzen SDK 2.4 and Unity. It has been fixed for 5.3 but didn't make it into 5.2. I'd recommend sticking with Tizen 2.3.1 SDK until Unity 5.3 is released.
     
  2. pappu33

    pappu33

    Joined:
    Apr 8, 2015
    Posts:
    14
    i tried all the versions of unity and tizen. i literally reinstalled both of them like 20 times to see which one works but still no luck. and there is mention of tizen in unity 5.3 beta release notes. i dont know exactly what is cuasing this problem. if anyone has found a solution other then one mentioned here let me know please.
     
  3. niksinghania

    niksinghania

    Joined:
    Jan 6, 2016
    Posts:
    3
    I am also facing the same issue, but I am using the workaround i.e. copy the tpk file manually from staging/build and copy to device manually and running it installs application in to the device and gets the job done. Posting if it helps.
     
  4. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    It would be very helpful if anyone who encountered this issue posted their Editor log file. Thanks!
     
  5. giorgos_gs

    giorgos_gs

    Joined:
    Apr 23, 2014
    Posts:
    623
    Now I use 5.3.4f1 and I have another error with Tizen 2.4.

    Code (CSharp):
    1. 2016-06-03 14:27:53,031 [TRACE] Main.java(85) - Start running Tizen CLI Main class...
    2. 2016-06-03 14:27:53,036 [TRACE] Main.java(86) - Argument count:4
    3. 2016-06-03 14:27:53,048 [TRACE] ConfigCLI.java(78) - Execute configCLI...
    4. 2016-06-03 14:27:53,049 [TRACE] NCLIConfigLoader.java(102) - isConfExist:true
    5. 2016-06-03 14:27:53,072 [TRACE] NCLIConfigLoader.java(102) - isConfExist:true
    6. 2016-06-03 14:27:55,621 [TRACE] Main.java(85) - Start running Tizen CLI Main class...
    7. 2016-06-03 14:27:55,626 [TRACE] Main.java(86) - Argument count:9
    8. 2016-06-03 14:27:55,642 [TRACE] PackageCLI.java(221) - Execute PackageCLI...
    9. 2016-06-03 14:27:55,647 [TRACE] PackageCLI.java(226) - getRealWorkingPath: C:\PROJECTS\Unity\Zeus Quest\Temp\StagingArea\build
    10. 2016-06-03 14:27:55,663 [TRACE] NCLIConfigLoader.java(102) - isConfExist:true
    11. 2016-06-03 14:27:55,672 [TRACE] NCLIConfigLoader.java(102) - isConfExist:true
    12. 2016-06-03 14:27:55,679 [DEBUG] PackageNativeCLICommand.java(315) - Base project directory: C:\PROJECTS\Unity\Zeus Quest\Temp\StagingArea
    13. 2016-06-03 14:27:55,693 [ERROR] AbstractCLI.java(92) - error occured on packaging.
    14. org.tizen.ncli.ide.exceptions.UnexpectedException: error occured on packaging.
    15.     at org.tizen.ncli.ide.shell.PackageCLI.execute(PackageCLI.java:807)
    16.     at org.tizen.ncli.ide.shell.AbstractCLI.execute(AbstractCLI.java:90)
    17.     at org.tizen.ncli.ide.shell.Main.run(Main.java:141)
    18.     at org.tizen.ncli.ide.shell.Main.main(Main.java:73)
    19.  
     
  6. giorgos_gs

    giorgos_gs

    Joined:
    Apr 23, 2014
    Posts:
    623
    What is that and how to fix it?
     
  7. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Im using 5.3.6 and latest SDK from Tizen, it seems no matter what I do I get issue MOVING FILE FAILED
    No such file and directory? what is going on? Using MAC
     
  8. giorgos_gs

    giorgos_gs

    Joined:
    Apr 23, 2014
    Posts:
    623
    I hope 5.4 fixes my bug, still havent released for tizen because of that. I will try it soon.
     
    MrEsquire likes this.
  9. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Well the issue is back, I updated SDK on Tizen 2.4 REV 7 and REV 8 same issue, using Unity 5.3.6p2

    Error building Player: IOException: Failed to Move File / Directory from '/Users/Esquire/Downloads/GAME/Temp/StagingArea/build/com.xxx.GAME-1.9.0-arm.tpk' to '/Users/Esquire/Desktop/GAME.tpk'.

    Reinstalled Unity many times, cannot seem to find any other information?

    The logs do not mention anything helpful like people said in forum thread already,
    there is some mention of keystone password, but there no sense as it all worked before and this not been changed.

    Clearly its a issue!, why don't you just test it yourself and see instead giving the impression that you know what you doing.. This is the second time I argue with you as honestly I don't even know if you work for Unity..because the knowledge of the platform your proving that you do not know much... No need for me to make separate threads also.. This section of the forum is so small and hardly used, u can sort issues in one day!
     
  10. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Would you please send me the log file that I asked for? We have not been able to reproduce this issue which is why your cooperation would be appreciated. Personally, I just tested 5.3.6f1 here and did not experience any problems deploying.

    Also, have you tried 5.4 yet?
     
  11. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    So you tested on MacOSX and using latest 2.4 Rev 7 or 8
    5.4 had same issue btw
     
  12. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Yes, that is correct. SDK 2.4 rev8.

    And one final time I will ask for your editor log. Without it I cannot help any further.
     
  13. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Ok thanks, I can confirm the error message is misleading to users.
    After some time of trying different things it seems to be connected to once again Certificates.
    Removing all certificates and opening IDE after upgrade and requesting new Certificates solved the issue finally.
     
  14. adrianjgomez

    adrianjgomez

    Joined:
    Nov 17, 2016
    Posts:
    2
    Hopefully, other people that have a problem will find this. Since I didn't see it anywhere.

    My error:
    "Failed to move file directory from" would occur when trying to build for Tizen from Unity.
    1. Looking at the originating directory the file was not there so I couldn't copy it and then upload it to my Tizen phone.

    What I did:
    1. Open the certificate manager under Tizen Studio -> Certificate Manager.
    2. Make sure that the author certificate has an expiration date under it. If not click on the pencil and add your password.
    It has to be the password when you created the certificate and although it says it is optional it is not if you are using Unity to build.
     
  15. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Yes because the Unity error message is useless and no mention of certificates in it, needs to be reworked.
     
  16. BAnyBudde

    BAnyBudde

    Joined:
    Jun 3, 2014
    Posts:
    51
    I can confirm that this works :) you rock!
     
  17. taibentre

    taibentre

    Joined:
    Jan 1, 2016
    Posts:
    9
    Error building Player: IOException: Failed to Move File / Directory from
    Help me! thanks
    this is log file!
     

    Attached Files:

  18. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    I would recommend updating to a newer version of Unity. Also be sure that you have Tizen Studio and that is up to date.
     
  19. taibentre

    taibentre

    Joined:
    Jan 1, 2016
    Posts:
    9
    thanks!
     
  20. taibentre

    taibentre

    Joined:
    Jan 1, 2016
    Posts:
    9
    hi. new error when I update unity 5.5.1 with Tizen support, and Tizen Studio auto update!
     

    Attached Files:

  21. taibentre

    taibentre

    Joined:
    Jan 1, 2016
    Posts:
    9
    UnityException: Build Failure!
    Failed to sign and package the application. Check the editor log for more details.