Unity3d error, nativevideoframecallback solution.

Source: Internet
Author: User

Address: http://blog.csdn.net/alking_sun/article/details/23684733

When unity3d is packaging Android applications, the game will crash as soon as it is opened. After accessing logcat, the following logs are found:

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.

Error cause:

The screen direction set in Unity playersetting is different from that set in manifest.

Solution:

Set the orientation of the playersetting screen to the same as that of the screen setting in manifest.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.