gpt4 book ai didi

unity-game-engine - 找不到符号 : _UnityGetAudioEffectDefinitions in Google VR SDK

转载 作者:行者123 更新时间:2023-12-02 12:19:54 25 4
gpt4 key购买 nike

这是我在 XCode iPhone 5S 模拟器中尝试运行 Unity3D 项目(Sample Treasure Hunter)时遇到的错误。

dyld: Symbol not found: _UnityGetAudioEffectDefinitions
Referenced from: /Users/romanmac/Library/Developer/CoreSimulator/Devices/333B47B5-B6BC-41E4-BD6D-611A9B4CE1DA/data/Containers/Bundle/Application/D8B8D3EF-F872-42F8-8407-3EC20B13474E/ProductName.app/ProductName
Expected in: flat namespace
in /Users/romanmac/Library/Developer/CoreSimulator/Devices/333B47B5-B6BC-41E4-BD6D-611A9B4CE1DA/data/Containers/Bundle/Application/D8B8D3EF-F872-42F8-8407-3EC20B13474E/ProductName.app/ProductName
(lldb)

在设备上运行良好。

Unity 5.4.0f3 个人 Xcode 7.3.1 (7D1014)

以下是 iOS 播放器的设置:

enter image description here

enter image description here

如何解决这个问题?

最佳答案

基本上,您可以将 CardboardAppController.mm 中的 createUnityView 修改为:

- (UnityView *)createUnityView {
#if !TARGET_OS_SIMULATOR
UnityRegisterViewControllerListener(self);
UnityRegisterAudioPlugin(UnityGetAudioEffectDefinitions);
#endif
UnityView* unity_view = [super createUnityView];
#if !TARGET_OS_SIMULATOR
createUiLayer(self, (UIView *)unity_view);
#endif
return unity_view;
}

关于unity-game-engine - 找不到符号 : _UnityGetAudioEffectDefinitions in Google VR SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39090258/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com