Hiển thị các bài đăng có nhãn unity. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn unity. Hiển thị tất cả bài đăng

Thứ Hai, 22 tháng 4, 2013

Unity ~ JSONParse Exception: json error -- not an array

如果你想在Unity 解析 JSON

剛好是用JSONParse也遇到這問題

千萬不要浪費時間去鑽研到底是JSON有問題還是哪裡沒設定好或是code問題

或是再繼續google找其他的library使用

我就是在這鳥問題中try了好久

暈倒0rz


如果你也跟我一樣遇到這鳥問題

想必也是在這網址下載的

https://github.com/tonioloewald/jsonparse

但這版本有問題, 要去抓上一版本才對

到這裡抓2013.2.21的版本
https://github.com/tonioloewald/jsonparse/commits/master

這樣就可以正常working

Thứ Sáu, 19 tháng 10, 2012

Unity ~ build Android crashes after splash

這問題發生在用Unity輸出apk到android安裝

出現開頭畫面完就直接跳出來.....

似乎是因為我用crack的關係XD


因為輸出android要到pro才行

free版沒有所以我才去找crack = =

想不到卻因為這樣才一直輸出不了apk

害我卡超久.....shiiiiiiiiiiit...........


總之安裝unity進去register的時候選Pro Trial就可以了


這樣確實可以輸出apk了

總比crack後輸出出來只能看開頭畫面好...

reference
http://answers.unity3d.com/questions/221871/android-game-crashes-after-splash-screen.html

After some searching, it appears this message shows up when the Unity application file / .exe gets modified out of its expected version information, meaning you have patched Unity, I'm assuming, in an attempt to hack it.

Sorry, but no help for you there bud. Go buy a license.