DllNotFoundException: LogitechSteeringWheelEnginesWrapper.dll - unity3d

I'm using logitech gaming sdk downloaded from Assets Store. When I try to use their sample script it gives the error shown below:
DllNotFoundException: LogitechSteeringWheelEnginesWrapper.dll
LogitechSteeringWheel.Update () (at Assets/Logitech SDK/Script Sample/LogitechSteeringWheel.cs:53)
LogitechSteeringWheel.cs:53 :
if(LogitechGSDK.LogiUpdate() && LogitechGSDK.LogiIsConnected(0)){
The Dll in the 'Assets/Logitech SDK/Lib/GameEnginesWrapper/x64' and 'Assets/Logitech SDK/Lib/GameEnginesWrapper/x86' path.
When I tried run the program on different PC with same unity version, it works without any error.
What would cause this problem?

I found a solution that worked for me in
https://assetstore.unity.com/packages/tools/integration/logitech-gaming-sdk-6630#reviews
jeromeWork posted:
Download the STEERING WHEEL SDK from here: https://www.logitechg.com/en-gb/innovation/developer-lab.html Unzip
then navigate to: LogitechSteeringWheelSDK_8.75.30\Lib\GameEnginesWrapper\x64
copy LogitechSteeringWheelEnginesWrapper.dll and overwrite the same file in your asset folder: \Assets\Logitech SDK

I tried many things over time, but the solution is as simple as possible. In "LogitechSteeringWheel.cs" script there are dll importing lines. Instead of writing only the dll's name, I wrote full path. It works.

Related

How to get .exe file from my flutter desktop application?

I have built a desktop application with flutter. Now wanna share its .exe to another person.
I have browsed for it and got some answers but according to this, I couldn't found.exe file.
First I run
flutter build windows
to release .exe file.
I went through the path but it created some strange file
build\windows\x64\Debug\
and found these 3 folder:
The actual .exe is under build\windows\runner\Release. Good luck!

Unity3d OSX "Application can't be opened"

I'm using a PC and I've created a build for Mac standalone.
I shared the file with my test user by zipping and emailing the build, but when he tries to run the application he sees this error:
The application "SomeApp.app" can't be opened.
After some searching, I learned that I need to do chmod to open the file. Can anyone tell me how to do that on a Mac?
The zip format doesn't have easy support for Unix-like file permissions, so your transfer process is stripping any permission flags that OSX uses to recognize files within that zip that are supposed to be executable. This can also happen with other file transfer solutions, so it's something to watch out for.
The best solution would be to create an archive which does keep those permissions, such as a tar archive.
Failing that, you can have a Mac user open a terminal and set the permission flag manually:
chmod a+x SomeApp.app/Contents/MacOS/*
(Replace SomeApp.app with whatever your .app folder is named)
I had the same issue, I left an answer here, at the bottom: https://forum.unity.com/threads/mac-build-breaking-when-uploaded-to-storage.1093330/
The problem was not with the .zip, but rather with the build itself. Ran fine on my Mac, did NOT run fine once I uploaded it and downloaded it again (or if anyone else downloaded it).
Edited 12/8/2021, as per EmiOB's suggestion, to add the text of my answer (same as in the link):
This worked for me on 2020.3.16f1:
In the Unity Editor: Build Settings, check the box that lets you make an XCode project (requires having XCode installed, I believe I have Xcode 11)
Open the XCode project
Build
That solved my problem :)

After updating unity to latest version, the unity launcher is blank

Yesterday I updated my unity to latest version..
Then the launcher is blank.
And when i open any .unity file.. It opens the editor with a error.
Error loading file:///C%3A%2FUsers%2FBuckyDroidz%2FAppData%2FRoaming%2FUnity%2FPackages%2Fnode_modules%2Funity-editor-home%2Fdist/index.html#/login
Unity is still working and running the project.. But unity launcher is not working
After searching on google I found a fix. I mean I have to add some file in package folder.. But there was a link to download those files and the link is dead...
Help Me!!
Looking at your SO username, it looks like this is a problem with your computer username.The D in your name is probably "Ď" or some other character and Unity is having problem reading that file path(C:/Users/username/AppData/Roaming/Unity/Packages/node_modules/unity-editor-home/dist/index.html#/login). This causes license check to fail.
Two things to try:
Method 1.
Change your username
A.Change your name to valid English characters
B.Uninstall and install Unity again to recognize that change.
If this does not fix your problem, do method 2.
Method 2
Do manual Activation
A.Disconnect your internet/wifi.
B.Open Unity. Go to Help -> Manage License
C.Click on Manual Activation.
D.Click on Save License or Save License Request(Depends on Unity version)
E.Connect to your internet/wifi.
F.Go to https://license.unity3d.com/manual then upload that saved license there. Follow steps to on the website to create a license on that website. Make sure to chose free unity version as the license type. When everything is done, you will be able to download a key file. Download that file.
G.Disconnect your internet/wifi again.
H.Open Unity. Go to Help -> Manage License
I.Click on Manual Activation.
J.Click on Load License then choose the file you downloaded from step F.
You can now connect to your internet/wifi again. Restart Unity and test if the problem is still there.
This is a issue with 2017.2 as well
To fix
go to C:\Program Files\Unity\Editor\Data\Resources\Packages
You can see 4 tgz files
unity-editor-home.0.8.30.tgz
unityeditor-cloud-hub-0.0.15.tgz
unityeditor-collab-history.0.6.14.tgz
unityeditor-collab-toolbar.0.7.15.tgz
Use an unarchive program (I used 7-zip file manager) to open each one of these and extract contents (dist folder and package.json file) to your Roaming folder
C:\Users\YOURUSERNAME\AppData\Roaming\Unity\Packages\node_modules
After extract, the folder looks like this..
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home
..\AppData\Roaming\Unity\Packages\node_modules\unityeditor-cloud-hub
..\AppData\Roaming\Unity\Packages\node_modules\unityeditor-collab-history
..\AppData\Roaming\Unity\Packages\node_modules\unityeditor-collab-toolbar
and unity-editor-home like below (one level subfolders shown)
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home\dist
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home\package.json
..\AppData\Roaming\Unity\Packages\node_modules\unity-editor-home\README.md

Android Studio - Library reference ../google-play-services_lib could not be found importing project

I am trying to import from Eclipse to AndroidStudio a project of mine and I am getting the following error
First I do not understand why it does not replace the google play services lib for the corresponding entry in the gradle file.
What should I do in order to fix the situation? Any guidance or link to a tutorial would be helpful.
Well, there might be another way of solving this problem, but I ended up removing the line in the project.properties file that was making reference to the google-play-services_lib library.
The simplest solutions is remove this line of code , android.library.reference.2=../google-play-services_lib,from project file (you will find it in project's root folder ) rest android studio will handle itself
Find the file:
An alternative is to simply set the path. You'll need to have installed play services via the Android SDK to use it with Android studio anyway.
Once play services are installed, if you highlight the Google play services entry in the Android SDK manager it will show you the path to the install location. On MAC this is normally something like /Users/[homedir]/android-sdks/extras/google/google_play_services/libproject
Edit the path in project.properties to point to this file and it will import. You can then update your gradle build file as necessary.
I think "removing the line in the project.properties file that was making reference to the google-play-services_lib library" is not a good fix.
To really fix it do either of these :
Just edit the location of the path to google-play-services_lib in project.properties file in your Eclipse project root directory.
android.library.reference.1=path/to/the/google-play-services_lib
Note:If you are on windows path\comes\like\this you have to replace the backward slash with the forward slash and your path/will/become/like/this.
e.g :
C:/Users/username/AppData/Local/Android/sdk/extras/google/google_play_services/libproject/google-play-services_lib
or replace "\" with "\" like below :
android.library.reference.1=C:\\Users\\username\\AppData\\Local\\Android\\sdk\\extras\\google\\google_play_services\\libproject\\google-play-services_lib
otherway is - just look at the last portion of the last line of the error
....which resolves to ...folder_name/google-play-services_lib
just create a folder at that location and paste google-play-services_lib from your google_play_services\libproject\google-play-services_lib
I just changed it works for me
android.library.reference.2../google-play-services_lib which changed to
as
android.library.reference.google-play-services_lib
The easiest and simple solution is to copy google-play-services_lib folder from another project or SDK folder and past it to the location which is address in the error. By removing or commenting line in the project.properties will create errors in the project and won't allow you to build unless you take necessary steps and fix.

How to run phone gap with xcode4?

Since moving to XCode4, I have been getting errors like:
/VERSION: No such file or directory
cp: /javascripts/phonegap..js: No such file or directory
cp: /javascripts/phonegap..min.js: No such file or directory
error: /VERSION: No such file or directory
for projects that were working under XCode3.
Open XCodes Preferences, and navigate to Source Trees. If there is no PhoneGapLib entry there, try adding a new setting with the following values:
Setting Name: PHONEGAPLIB
Display Name: Phone Gap Lib
Path: /Users//Documents/PhoneGapLib
Note that the path should be to the location of your PhoneGapLib folder, and that it may not be in your documents folder, depending on how you installed PhoneGap.
I just learned about a great web service recently made available by Nitobi (makes of PG), which will automatically generate the necessary PhoneGap files you need for use in Xcode 4.
Just enter your project name, hit a button and they'll generate a zip file for you to download. This lets you set up a new project without messing with the command line.
You could set up a new project, then migrate your older project files over.
Did you search Google for this error?
I'm a bit of a noob with PhoneGap and Xcode still, but I know there have been recent issues with PG and Xcode 4. Perhaps you're experiencing the same issues as the commenters to this post: PhoneGap + XCode4 (and more specifically, here).