2012年3月19日 星期一

發佈失敗,怪我摟?UNITY3.5.0f5 Free + XCode 4.3.1 + iOS 5.1



Dear All:
昨天一整天在跟iOS奮戰,好不容易搞定Mac發佈的入教儀式,開心的按下XCode的Run鍵,結果出現:
  • You are using Unity iPhone Basic. You are not allowed to remove the Unity splash screen from your game (lldb) 
接著就卡死在Splash畫面,動也不動!"拜" 了許多文章終於發現~~,這是Unity 3.5.0f5官方的Bug。這版本如果使用的是Free version,外加上XCode版本為4.3.1,就一定會發生卡點事件。

解決方法:
將 XCode 回到 4.3.0,重新 Build & Run 一切就搞定了!!

此外,還有一個 iOS 5.1 的問題是:
  • 禁止非設定為開發用的裝置,對控制台Print訊息
所以如果你有使用:
  1. System.Console.Write()
  2. System.Console.WriteLine()
  3. print()
以上等函數,都會被當成Exception來處裡,你唯一能使用的是Debug.Log()。


UnityIN 總編輯:Bric Lin,
Email: ericlin09@gmail.com
曾任職台灣某遊戲公司研發Game Engine,為書籍“OGRE入門指南”譯者,專攻Rendering技術與遊戲開發,目前為獨立團隊CocosPlay主程式


2012年3月14日 星期三

我說Coroutine,不是這樣用的~~




昨天在測試的時候發生了很嚴重的當機事件,不管用甚麼廠牌的Android的手機,在遊玩過程中會不定時的無任何警示訊息自動跳出,從LogCat看訊息發現:
  1. ERROR/InputDispatcher(284): channel '418b6698 path.to.our.app (server)' ~ Consumer closed input channel or an error occurred.  events=0x8
  2. ERROR/InputDispatcher(284): channel '418b6698 path.to.our.app (server)' ~ Channel is unrecoverably broken and will be disposed!