0

我正在使用从 Assets Store 下载的罗技游戏 sdk。当我尝试使用他们的示例脚本时,它会给出如下所示的错误:

DllNotFoundException:LogitechSteeringWheelEnginesWrapper.dll LogitechSteeringWheel.Update ()(位于 Assets/Logitech SDK/Script Sample/LogitechSteeringWheel.cs:53)

罗技SteeringWheel.cs:53:

if(LogitechGSDK.LogiUpdate() && LogitechGSDK.LogiIsConnected(0)){

“Assets/Logitech SDK/Lib/GameEnginesWrapper/x64”和“Assets/Logitech SDK/Lib/GameEnginesWrapper/x86”路径中的 Dll。当我尝试在具有相同统一版本的不同 PC 上运行该程序时,它可以正常工作。什么会导致这个问题?

4

2 回答 2

1

我在 https://assetstore.unity.com/packages/tools/integration/logitech-gaming-sdk-6630#reviews找到了适合我的解决方案

jeromeWork 发布:从此处下载 STEERING WHEEL SDK:https ://www.logitechg.com/en-gb/innovation/developer-lab.html解压缩然后导航到:LogitechSteeringWheelSDK_8.75.30\Lib\GameEnginesWrapper\x64 复制 LogitechSteeringWheelEnginesWrapper.dll并覆盖资产文件夹中的相同文件:\Assets\Logitech SDK

于 2020-03-28T16:20:41.567 回答
0

随着时间的推移,我尝试了很多事情,但解决方案尽可能简单。在“LogitechSteeringWheel.cs”脚本中有 dll 导入行。我没有只写 dll 的名称,而是写了完整路径。有用。

于 2019-05-23T11:32:45.907 回答