Unity3d - Failed to load 'Assets/Plugins/QCARWrapper.dll'

前端 未结 6 1395
灰色年华
灰色年华 2020-12-07 02:30

I want to use c++ dll on unity android application. To use native dll on a android device, I learn that I should use Unity 5. I download unity5 from here. My application req

6条回答
  •  感动是毒
    2020-12-07 03:24

    If you are using Unity 5.1, make sure to set the right Graphics API settings in the Player Settings for Android and iOS:

    disable the "Automatic Graphics API" checkbox in the Graphics APIs list, make sure that only OpenGL ES 2.0 is included: Android: remove OpenGL ES 3.0 iOS: remove OpenGL ES 3.0 and METAL

    Important : 1. In your Unity project:

    Select the QCARWrapper.bundle in the Unity Project view (located under Assets > Plugins ), so that its settings are shown in the Unity Inspector Change the settings of QCARWrapper.bundle in the Unity inspector from "Any Platform" to "Standalone + Editor".

    Rebuild

    ​OR:

    1. In the Xcode project generated by Unity:

    Go to Build Phases > Copy Bundle Resources Remove the QCARWrapper.bundle file from the list Rebuild

    My unity3d version is 5 and 64bit ,Os is Windows7 64 bit.

    my Problems solved .

    Edit :

    Unity editor couldn't show laptop camera ,But Rebuild Project , camera work . for example rebuild Android platform , and install .apk on device => application Ok .

提交回复
热议问题