浏览 : 3495

[问题] VR广告在Unity编辑器下正常,但是打包exe出来运行报错?

一般用户

等级1

路过旅人

FuRao2017-5-9 10:19

    DllNotFoundException: D:/FuRao/Project/ReleasePackage/QiguangCinema/QiguangCinema_Data/Plugins/htcADUnityPluginN.dll
      at (wrapper managed-to-native) htcADUnityPlugin.ADLogger:ADLogger_I (string)
      at htcADUnityPlugin.ADLogger.I (System.String log) [0x00000] in <filename unknown>:0
      at ADPlacementUpdater.Start () [0x00000] in <filename unknown>:0

    DllNotFoundException: D:/FuRao/Project/ReleasePackage/QiguangCinema/QiguangCinema_Data/Plugins/htcADUnityPluginN.dll
      at (wrapper managed-to-native) htcADUnityPlugin.ADController:ADController_SetFetchADCallback (htcADUnityPlugin.ADController/FetchADCallbackFun)
      at htcADUnityPlugin.ADController..ctor () [0x00000] in <filename unknown>:0
      at htcADUnityPlugin.ADController..cctor () [0x00000] in <filename unknown>:0
    Rethrow as TypeInitializationException: An exception was thrown by the type initializer for htcADUnityPlugin.ADController
      at ADPlacementUpdater.Update () [0x00000] in <filename unknown>:0


    检举 回应

VR广告服务团队2017-5-15 18:05

    亲爱的 FuRao,


    感谢您使用VR 广告SDK! 经过技术团队检视, 发现您可能创建了多个"plugins" 资料夹, 而"htcADUnityPluginN" 这个DLL 档不存在于第一个"plugins" 资料夹内导致了Unity 预设读取的路径失败.
    还要烦请您检视一下资料架构是否如下图所示, "htcADUnityPluginN" 这个档案必须存在于第一个 "plugins" 资料夹:
    Screen Shot 2017-05-15 at 5.44.17 PM.png



    若问题无法解决, 或是您遭遇其他问题, 再请您不吝提出.
    感谢.

    VR 广告服务团队


    检举 回应