我和我的团队以及我的游戏遇到崩溃,并且出现此错误。有人知道为什么吗?
java.lang.Error: FATAL EXCEPTION [UnityChoreographer]
Unity version : 2018.1.3f1
Caused by
at $Proxy7.doFrame (Unknown Source)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:892)
at android.view.Choreographer.doCallbacks (Choreographer.java:696)
at android.view.Choreographer.doFrame (Choreographer.java:628)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:880)
at android.os.Handler.handleCallback (Handler.java:815)
at android.os.Handler.dispatchMessage (Handler.java:104)
at android.os.Looper.loop (Looper.java:207)
at android.os.HandlerThread.run (HandlerThread.java:61)
答案 0 :(得分:1)
这似乎是要在Unity中渲染的东西在渲染期间被破坏/创建不正确。不在主线程中设置UI时可能会发生这种情况。
您可以检查choreographer code here。 Android使用Choreographer来定时动画,输入和绘制视图。
[其他Android编舞问题](Android app crashes with NullPointerException in ChoreoGrapher)