albrt Posted February 25, 2021 Share Posted February 25, 2021 Hello, I am trying to install the Vive3DSP plugin into my Unity project. When importing the package I downloaded from here I get the follow error: Assets\HTC.UnityPlugin\ViveInputUtility\Scripts\Editor\CI\CIUtils.cs(46,44): error CS0117: 'Environment' does not contain a definition for 'GetCommandLineArgs' I couldn't find much info about this. What's causing the error? I'm using Unity 2019.4.17f1 in URP Scripting backend Mono API Compatibility Level .Net Standard 2.0 Vive3DSP_v1.2.2.0 Thank you for your help Link to comment Share on other sites More sharing options...
Professor 3DSound Posted March 2, 2021 Share Posted March 2, 2021 Hi albrt, Thank you for your valuable feedback. It is a pity that, after a few days hard work, the error you mentioned could not be reproduced. It would be suggested that you can delete the file CIUtils.cs and then try again. If there is still any problem, please let us know. Cheers. Best regards, 3D Sound Group. Link to comment Share on other sites More sharing options...
albrt Posted March 4, 2021 Author Share Posted March 4, 2021 Hi, After further investigation, we found the problem. There was a custom Environment class in the project - which conflicted with the .NET System.Environment class. Renaming our custom Environment class to a different name solved the problem. I'm leaving the solution here in case someone else runs into a similar issue. Thank you for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now