Open kfird214 opened 10 months ago
hi, i encounterd the same error. some questions about your workaround?
thank you for helping.
hi, i encounterd the same error. some questions about your workaround?
- the zip file is the master zip from this github page?
- and then copy the content to my project folder?
- do i need to delete the steamvr folder or just overwrite the files?
- what packaged need to rezipped as tgz?
thank you for helping.
If you use the .unitypackage from 2.8.0 release
You will see that there is a file com.valvesoftware.unity.openvr-1.2.1.tgz
that is added to the packages on Packages/manifest.json
"com.valvesoftware.unity.openvr": "file:../Assets/SteamVR/OpenVRUnityXRPackage/Editor/com.valvesoftware.unity.openvr-1.2.1.tgz",
This zip file is a unity package itself and inside of it package\Runtime\x86\libopenvr_api.so
is without a metafile.
I just unzipped it added a meta file for those 2 files zipped it as tar file with 7z and then gzipped the tar with 7z and renamed it to .tgz
No need to have any change but the com.valvesoftware.unity.openvr-1.2.1.tgz
itself.
No need to delete anything
Your local extracted content of com.valvesoftware.unity.openvr-1.2.1.tgz
that has the meta files added manually.
I'm confused why this is still an issue
I have the same problem. No meta files in the folder x86 for windows. How can I generate these files?
I have the same problem. No meta files in the folder x86 for Windows. How can I generate these files?
You can see my answer above https://github.com/ValveSoftware/steamvr_unity_plugin/issues/1107#issuecomment-1909835386
Basically, I unpacked the package, opened it in Unity, and let it generate the file. and re-zipped the package.
I already unpacked and opened in unity but how do you regenerate the files?
I already unpacked and opened in unity but how do you regenerate the files?
Unity should generate the file for you if you open it in a project, I use git to see the diff, it helped me locate the file if I remember correctly.
just packed the same unpacked folder back to a tar file or something and replaced it, and it worked
For me unity gives error : no meta files for the files mentioned above and does not regenerate them😕 Even after I unzip and open in the project. Thank you for your response
This is the libopenvr_api.so.meta link https://www.dropbox.com/scl/fi/tbiyf90rje96yibqr14tz/libopenvr_api.so.meta?rlkey=a63artnplm8qhbcf6y7cwhd0r&dl=0
Add it to the right path (of course unzip then re-zip)
Here is my com.valvesoftware.unity.openvr-1.2.1.tgz https://www.dropbox.com/scl/fi/ylbudx4cjgxfs9rc41f9z/com.valvesoftware.unity.openvr-1.2.1.tgz?rlkey=susbp2f7wkincav5rea2aposf&dl=0
For me unity gives error : no meta files for the files mentioned above and does not regenerate them😕 Even after I unzip and open in the project. Thank you for your response
Thanks @kfird214 this worked for me.
Edit _Steps I did:
This fixed the error. I was able to build and run the application without problems. Thanks again and sorry for repeating what you said with maybe too many words.
Maybe Unity can not unzip and read those files? Maybe something went wrong with the compression? Would love to see this fixed._
Edit: No, did not work, yesterday no errors but closing and reopening the project showed errors again. Now I downloaded @kfird214 files and replaced the ones that made trouble. Seems to work now.
Edit 2: No, it comes back if I close the project and open it again. This needs some fix.
For anyone not wanting to go through the hassle of unpacking, generating the missing meta files and repacking. Here is the zipped tar. Just unzip and overwrite the previous tar file with this one at ..\Assets\SteamVR\OpenVRUnityXRPackage\Editor and it should be fixed. com.valvesoftware.unity.openvr-1.2.1.zip
@HilaryDeBlick 's fix worked for me.
The zip file for the package
com.valvesoftware.unity.openvr-1.2.1
included with the unity package is missing 2 meta files for:My workaround