码迷,mamicode.com
首页 > 编程语言 > 详细

Unity3D 错误nativeVideoFrameCallback的解决方法

时间:2014-11-02 13:40:13      阅读:653      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   os   for   sp   on   art   

欢迎来到unity学习unity培训、unity企业培训教育专区,这里有很多U3D资源U3D培训视频U3D教程U3D常见问题U3D项目源码,我们致力于打造业内unity3d培训、学习第一品牌。

 

 

Unity3D在打包安卓应用的时候,一打开游戏就闪退,接入LogCat之后发现有如下的Log:

04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeVideoFrameCallback:VILII
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSoftInputClosed:V
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetTouchDeltaY:VF
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetInputString:VL
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetInputCanceled:VZ
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetExtras:VL
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetDefaultDisplay:VI
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeResume:V
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeResize:VIIII
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRequestedAA:I
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRequested32bitDisplayBuffer:Z
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRender:Z
04-14 10:12:08.283: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeRecreateGfxState:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativePause:Z
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeKeysPressed:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeInjectEvent:ZL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeInitWWW:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeFocusChanged:VZ
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeFile:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeDone:V
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeActivityIndicatorStyle:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.initJni:VL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.UnitySendMessage:VLLL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetLocationStatus:VI
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeSetLocation:VFFFFDF
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeForwardEventsToDalvik:VZ
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/UnityPlayer;.nativeDeviceOrientation:VI
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodUnblockStreaming:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodProcess:IL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodInitJni:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodGetInfo:II
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodBlockStreaming:I
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lorg/fmod/FMODAudioDevice;.fmodProcessMicData:ILI
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/ReflectionHelper;.nativeProxyInvoke:LILL
04-14 10:12:08.291: DEBUG/dalvikvm(23204): Unregistering JNI method Lcom/unity3d/player/ReflectionHelper;.nativeProxyFinalize:VI
04-14 10:12:08.307: INFO/Process(23204): Sending signal. PID: 23204 SIG: 9

04-14 10:12:08.330: INFO/ActivityManager(379): Process xxxxxxxxx (pid 23204) has died.

出错原因:

unity PlayerSetting设置的屏幕方向和Manifest里面设置的屏幕方向不一致。

解决方法:

将PlayerSetting屏幕方向和Manifest里的屏幕设置方向设置相同。

 

 

更多精彩请点击 http://www.gopedu.com/

Unity3D 错误nativeVideoFrameCallback的解决方法

标签:style   http   io   ar   os   for   sp   on   art   

原文地址:http://www.cnblogs.com/Unity3Dqishituan/p/4068940.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!