Languages

Menu
Sites
Language
Gear s2에 Unity로 개발한 게임 올리기

안녕하세요 unity로 게임을 개발해 Gear s2에 올리고자 합니다.

저는 그래서 다음과 같은 과정으로 Gear s2에 unity tpk파일을 올리는데 성공하였습니다. 하지만 실행이 되지 않습니다.

1. Tizen Studio 또는 Tizen SDK 2.4의 Certificate manager를 통해 인증서를 받음(인증서 타입 삼성으로 선택)

   1-1. unity에서 Signing Profile Name에 위의 1.과정에서 생성한 인증서 아이디를 넣고 진행

   1-2 Bundle Identifier 에 고유한 주소를 적음(일단 그냥 아무 주소나 막 적음)


2. ( Tizen Studio 또는 Tizen SDK 2.4) sdb manager를 통해(무선 연결 매니저)   $sdb install [path_to_tpk] 명령어를 이용하여

   Gear s2에 tpk파일 업로드 성공.

 C:\tizen-studio\tools>sdb version
 Smart Development Bridge version 2.3.0

  C:\tizen-studio\tools>sdb install C:\tizenapp\test3d.tpk
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed                     test3d.tpk   100%         11MB        2047KB/s
1 file(s) pushed. 0 file(s) skipped.
C:\tizenapp\test3d.tpk           1455KB/s (12261541 bytes in 8.228s)
path is /opt/usr/apps/tmp/test3d.tpk
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[start] val[install]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[install_percent] val[30]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[install_percent] val[60]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[install_percent] val[100]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[end] val[ok]
spend time for pkgcmd is [10478]ms

3. 그래서 Gear s2에서 생성된  unity 파일을 눌렀더니 반응이 없고 실행이 되지 않습니다.  어떤 부분이 문제인지 도저히 모르겠습니다. 인증서도 몇번이나

다시 생성하여 보았고 위 과정을 반복하였지만 Gear s2에 tpk파일이 재대로 업로드는 되어 아이콘이 생기지만 터치하면 아무 반응이 없습니다.


https://www.youtube.com/watch?v=4jLuHI-s7JI 이 분이 올리신 것 처럼 유니티 파일을 Gear s2에서 터치하면 실행이 되야 하는데 저는 Gear s2에 저 동영상 처럼 아이콘은 생기지만 저분처럼 실행이 되지는 않습니다. 어떤 부분이 문제인가요? 해결책을 주시면 바로 시행해보고 답변하겠습니다. 부탁드립니다...

사용한 unity 버전 : 5.5.1f1

Tizen SDK 2.4 또는 Tizen Studio 1.1.1(최신버전)

sdb 버전 : Smart Development Bridge version 2.3.0

 

 

 

 

[영어로 질문을 또한 올립니다..]

Hello I want to develop a game with unity and put it on Gear s2.

So I succeeded in uploading the unity tpk file to Gear s2 with the following process. But it will not run.

 

1. Receive the certificate through Tizen Studio or Certificate Manager of Tizen SDK 2.4(Certificate type selected by Samsung)

    1-1. In unity, insert the certificate ID created in step 1 above into the Signing Profile Name and proceed

    1-2 Write a unique address in the Bundle Identifier (just fewer addresses)


2. Use the $ sdb install [path_to_tpk] command via sdb manager (wireless connection manager) via Tizen Studio or Tizen SDK 2.4

    Upload tpk file to Gear s2
 
  C:\tizen-studio\tools>sdb install C:\tizenapp\test3d.tpk
WARNING: Your data is to be sent over an unencrypted connection and could be read by others.
pushed                     test3d.tpk   100%         11MB        2047KB/s
1 file(s) pushed. 0 file(s) skipped.
C:\tizenapp\test3d.tpk           1455KB/s (12261541 bytes in 8.228s)
path is /opt/usr/apps/tmp/test3d.tpk
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[start] val[install]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[install_percent] val[30]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[install_percent] val[60]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[install_percent] val[100]
__return_cb req_id[64150002] pkg_type[tpk] pkgid[com.chungbuk.sdaf] key[end] val[ok]
spend time for pkgcmd is [10478]ms
 
3. So when I click on the unity file created in Gear s2, there is no response and it can not be executed. I do not know which part is the problem. How many times have I been certified?

I regenerated it and tried to repeat the above process, but the tpk file was uploaded to Gear s2 again.


Https://www.youtube.com/watch?v=4jLuHI-s7JI If you click on the unity file as this person posted, it should be executed, but I have an icon like that video in Gear s2

It does not run like that.
 
What is the problem? If you give me a solution, I will try and answer it. Please...
 
Used unity version: 5.5.1f1

Tizen SDK 2.4 or Tizen Studio 1.1.1 (the latest version)

Sdb version: Smart Development Bridge version 2.3.0
 
 
 
Edited by: youngjae kim on 18 Mar, 2017
View Selected Answer

Responses

10 Replies
Iqbal Hossain

hi 
Did you try with Tizen IDE ( Not the Tizen Studio) ? 
And as far i know,SDK version of  Gear S2 2.3.1... but you are trying with Tizen SDK 2.4 ! why ?

 

youngjae kim

Since version 2.4 is a higher version, Gear s2 is 2.3.1, so is not it compatible?

So, you mean try with tizen ide 2.3.1?

Iqbal Hossain

Try with Tizen API version 2.4 not IDE/Studio version. 

And use Tizen IDE for creating certificate. Do not close the Tizen IDE when deploying your game from Unity3D. 

youngjae kim
Please understand that I am sorry for my poor English.
I first got a certificate with version 2.4 of tizen, and I have run it several times, but the file did not run in Gear s2. So I took the certificate to studio and proceeded. Of course, as you said, I did not quit Tizen ide during development. After all this process, I post this question. But i will try again until you give me another solution.

 

Iqbal Hossain
  1. In the Unity Editor, go to File > Build settings….
  2. Switch to the Tizen platform.
  3. Ensure that Development build is checked.
  4. Next click on Player Settings.
  5. Under Publishing Setting enter the name of the signing profile that you created in the Tizen IDE. If you didn’t give it a custom name or rename it in the IDE, then you should enter “default”.
  6. Click the Build and Run button. Unity makes the game for you and deploys it to the device. The game then starts up on the device.

On Publishing Settings:

* Make sure that on deployment target your device id is shown as per image. You have to click on Discover button to confirm it.

* And check your Signing Profile Name on Tize IDE and compare it with this setting, If doesn't match changed it in Unity Player Settings. 

 

 

On Other Settings:

* Make sure your Build Identifier is matched with your package name.

* If all the things are okay, then click on Build and Run. 

 

-cheers!

youngjae kim
 
Thank you for your kind answer! I have not done this by setting the publish button in the Deployment target by pressing the "discover" button. I will try it again and reply to the result! Thank you
youngjae kim

hi 

I proceeded according to the way you told me. That was the way I already knew. But I tried again. I will show you the process of detailing through the following photographs. Please point out any missing or incorrect parts.

 

1. Install tizen ide 2.4

.

 

2. Issuing Certificates

Both tizen z3 and gear s2 devices have been certified.

 

3. unity setting

 

Successfully generate tpk file!!


First, I tried to run unity tpk file on easy tizen z3.

At tizen z3, the file was successfully moved and executed!!!!

 

 

Second, I decided to run the unity tpk file on Gear s2. Gear s2 does not have usb connect, so I used the wireless manager sdb manager.

 

 


As above, unity icon is created but not executed. So far I have been in progress and faced a problem. I do not know what the problem is!!

youngjae kim

 

The second picture is wrong and will be fixed.

The second picture is wrong and will be fixed.

 

Iqbal Hossain

May be it is a version problem. Because it runs on Z3 device but doesn't run on S2. 

Mark as answer
youngjae kim

I've fixed this issue. It was a problem with the version of unity. Thank you for your reply.

 

https://developer.tizen.org/forums/general-support/uploading-unity-files-gear-s2

http://blog.naver.com/juk1413/220978028659