- Home /
Unity3d and Logitech SDK - Can't find LogitechSteeringWheel.dll when ported to test machine
I have an odd problem. We are using the Logitech SDK with Unity3d from the asset store for use with a G27 Wheel and peddles. All works fine on my development machine in both the editor and when I make a build. Here are some specs:
Dev Machine Specs: Windows 7 Unity 3.5.7 32 bit build G27 Wheel and Peddles
Test Machine Specs: Windows 7 G27 Wheel and Peddles
When I run the build on my dev machine it runs fine and detects the wheel. However, when I port the build over to a test machine the program runs but no response from the wheel. I looked at the log files that unity generates and it says it can't find the LogitechSteeringWheel.dll yet when I look in the data/plugins folder the .dll is there. This happened on two test machines. So I ran Procmon ( a procedure monitor) to see if I could glean any details. When I run the test with procmon on it reports all calls to the LogitechSteeringWheel.dll as successful. So it seems to be accessing the .dll but Unity is somehow confused? Does the LogitechSteeringWheel.dll require any other dependancies - possibly from .NET or MONO?
I double checked that I am in fact using the x86 .dll with a 32 bit build.
Logitech tech support recommended a clean boot and to reinstall their drivers but that didn't work either.
Answer by DrivingSim · May 29, 2013 at 01:36 AM
PROBLEM SOLVED: Okay...so I checked the DirectX versions on both my dev machine and the test machine. They were both DirectX 11. However, on the test machine the version was either slightly older or somehow components got deleted. We ran Logitech's C++ demo on the test machine and it immediately popped up with an error saying that the XInput1_3.dll was missing. That clued us in that perhaps DirectX needed updating. We did and it now works.
Bottom line: Make sure you have the latest DirectX 11 Drivers if you want to use the Logitech SDK with Unity.
Look inside your install location (probably C:\Program Files\Logitech\Ga$$anonymous$$g Software) and extract the Logitech_SD$$anonymous$$_For_PC_1.00.002.zip (version may differ) archive.
Execute the SteeringWheel\SteeringWheelSD$$anonymous$$Demo.exe which was extracted and you'll see the 'XInput1_3.dll is missing' error message.
I'm running into the same thing; the DLL is not found on my Windows 10 test machine. But the SD$$anonymous$$ no longer appears to include the WheelSD$$anonymous$$Demo.exe mentioned by @mateiasu; there is nothing in the SD$$anonymous$$s folder except the DLL. I suspect that Windows 10 (a very fresh installation) is missing something the DLL requires to load, but how do I find out what this is?
Answer by nawash · Jun 18, 2019 at 03:22 AM
@JoeStrout Same here. My client had to install new laptops with Windows 10 ad what worked on Win7 totally fails on Windows10. The SteeringWheelSDKDemo.exe does not work anymore. Have you figured out a solution for this ?
Thanks
@JoeStrout @nawash Well it's been 6 years so I don't remember where I got the WheelSD$$anonymous$$Demo files. I believe they came with the Logitech Plugin on the unity store, but it's possible I got them from Logitech's websit too - they were C++ files that you could modify but they had various example exe builds in them also - I used the wheel demo to test and that is the one the threw the error that keyed me in on the problem. Logitech's site is hard to search for things though.
Be aware the SD$$anonymous$$ plugin was updated from 1.0 to 1.1 a few years ago (if I recall correctly). But I believe all the examples were with v1.0. All I can recommend at this point is that you try updating to DirectX 11.
Since the original post I was using U3.5. I have since used the Logitech SD$$anonymous$$ with Unity 4.0, 5.0, and 2018 on multiple projects without further issues - I now included DX11 with our installers. $$anonymous$$y point is the SD$$anonymous$$, though old, still works if you get things set up right....BUT...it can be buggy in U5 editor. See my review on the Unity Store under the name aLuongo about 4yrs ago - link
@DrivingSim Thank you. In my case the trick was to install DirectX end user http://www.microsoft.com/en-us/download/confirmation.aspx?id=8109 and to regsvr32 LogitechSteeringWheel.dll (located in the LGS SD$$anonymous$$ folder) It confirms you're right distributing DirectX, even if DX12 is already installed on Windows 10. Which is actually weird since the Direct input DLL is already installed.... anyway... the trick is DX end user install + regsvr32 LogitechSteeringWheel.dll
Thanks all
Your answer
![](https://koobas.hobune.stream/wayback/20220613103107im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
DllNotFoundException : MonoPosixHelper 2 Answers
Cloud recognition in Vuforia 0 Answers
logitech g27 and input configuration on windows7 0 Answers
Character flickering when moving 0 Answers
does not implement right interface 1 Answer