UnityException: Build Failure!

2547197--177040--q0.png



Hello,

This is due to changes in the Tizen SDK. A fix is scheduled for Unity 5.3.4p1.

2557212--177980--%87%$2ZN.png

You can fix this problem manually by doing this:

  1. go to Temp\StagingArea in your Unity folder
  2. rename folder ā€œbuildā€ into ā€œbinā€
  3. zip content of StagingArea folder and call that zip file ā€œtizen.tpkā€. In the root of this zip file you should have \bin \data \lib and so on
  4. run ā€œtizen.bat packageā€ on this new tizen.tpk file and then use ā€œsdb installā€ to install this new file

You can copy and modify ā€œtizen.bat packageā€ run command from unity build output and modify that command to use tizen.tpk
In my example I have use this command:

tizen-sdk\tools\ide/bin/tizen.bat package – ā€œD:\Unity\Tizen2\Temp\StagingArea\tizen.tpkā€ -t tpk -s tizensignalias

I have use Unity 5.3.4f and Tizen SDK 2.4 rev 4 with Samsung Z3 and it works as expected.

Best regards
Bojan

2 Likes

Thank you very much. you perfect solved my problem.

Hi,

i have the same problem and the solution to manual package and signing was working. i just have the Problem that after the install/push command i get some errors:
error: failed to close ā€˜/system/bin/sh: /usr/bin/pkgcmd: not found/tmp/tizen.tpk’: No such file or directory


All of view pic.

2593957--181510--T6)PY[N}FNEM`NK38@L8AB.png|1194x931 ![2593957--181511--KYT]O5Q%B}JOP8MZ0SB]4K8.png

I am unable to build tpk file.
Please refer attachment for errors.
My Unity version is 5.5.2f
OSX 10.11
Tizen SDK 3.0

Looks like you may need to install the correct Java version for Tizen Studio. You can get it here: https://www.java.com/en/download/

@Masterfalcon
I have installed Java 8 update 121
also jdk 1.8.0_121
still getting same error
I have also specified correct JDK path in unity preferences
is there any specific version of Java needed for tizen?

Java 8 is what is required. I have 3 ideas.

  1. Try restarting Unity
  2. Try restarting the computer
  3. Try uninstalling and reinstalling Tizen Studio

Hopefully one of those will work.

1 Like

Thank you. I got same problem. :3
It seems Tizen Builds on Windows machine is better.