kartikarora1606 Posted June 3, 2019 Share Posted June 3, 2019 Hello All, I am new to AR developement and started with SRWorks for Vive Pro. After I import the package into a new project, the below error is getting thrown 12 times. Please help Assets\ViveSR\Scripts\ViveSR_DualCameraCalibrationTool.cs(130,69): error CS0103: The name 'Registry' does not exist in the current context Link to comment Share on other sites More sharing options...
kartikarora1606 Posted June 3, 2019 Author Share Posted June 3, 2019 Can anyone please mention the exact Unity version and Steam VR plugin used to run SRWorks Sample Scene? I have installed Unity Version 5.6.x and Unity keeps crashing when I play the scene, but the original 'Registry' issue is resolved in this version Link to comment Share on other sites More sharing options...
kartikarora1606 Posted June 3, 2019 Author Share Posted June 3, 2019 Tried many versions of unity but the sample scene keeps crashing as soon as I hit play. I am only able to see a white rectangale, everything else is black in the game view. But as soon as I hit play, unity crashes Link to comment Share on other sites More sharing options...
LordVetinari Posted June 3, 2019 Share Posted June 3, 2019 I had the same Problem. In my case i wasnt allowed to parse the Registry for whatever reasons (yeah thanks admin). Workaround: Enter the Script. Replace relativeAngle and absoluteAngle with something like: Vector3 relativeAngle = new Vector3(0f, 0f, 0f);Vector3 absoluteAngle = new Vector3(0f, 0f, 0f); Or get the exact Values out of the Registry, somehow. Comment out Registry related lines. 1 Link to comment Share on other sites More sharing options...
Daniel_Y Posted June 5, 2019 Share Posted June 5, 2019 This is an known issue. It will be fixed in the next release expecting by the end of June. Link to comment Share on other sites More sharing options...
Daniel_Y Posted June 5, 2019 Share Posted June 5, 2019 "Registry" is a known issue. It will be fixed in the next release expected by the end of this June. Regarding non-function, have you checked if your system is able to support Vive Pro’s SRWorks SDK functionalities followed by these steps, https://developer.vive.com/resources/knowledgebase/vive-pro-srworks-sdk-qa/? Regarding supported version, it needs Unity (5.5.3 or later) and this version doesn’t support SteamVR unity plugins 2.0.1, please download SteamVR unity plugins 1.2.3 package if you needs, https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/1.2.3 Link to comment Share on other sites More sharing options...
261983626@qq.com Posted October 30, 2019 Share Posted October 30, 2019 hi @kartikarora1606 have you solved your problem? i had the same problem about "Registry' does not exist in the current context'. could you tell me how to fix it if you have solved the problem? Thank you a lot! Link to comment Share on other sites More sharing options...
JCSegula Posted October 31, 2019 Share Posted October 31, 2019 Do what LordVetinari said, Change Vector3 relativeAngle = new Vector3(0f, 0f, 0f); Vector3 absoluteAngle = new Vector3(0f, 0f, 0f); (Be aware that this var are on the bottom part, the ones called in the top part have the first letter cap) Then search for registry in the code and comment all the lanes that contains it. ----- That should solve it, at least i made it work. 1 Link to comment Share on other sites More sharing options...
MacBread Posted November 29, 2019 Share Posted November 29, 2019 On 10/30/2019 at 7:57 PM, 261983626@qq.com said: hi @kartikarora1606 have you solved your problem? i had the same problem about "Registry' does not exist in the current context'. could you tell me how to fix it if you have solved the problem? Thank you a lot! I solved that using 'PlayerPrefs'. (https://forum.unity.com/threads/playerprefs-saves-registry-name-strange.784061/) or Image below I get reply and some tips from Unity forum and C# tutorial blogs about 'PlayerPrefs' has a security weak point. Get in mind about this problem first. Anyway in my case, I get no more errors about 'Registry'. But It still can not update its relativeangle or absoluteangle. If you want to get rotation values of VR HMD, I think to get values from a Object 'Camera (eye)' using this method may help you. ps. @Daniel_Y May I ask you when next version of SDK will be released?... Link to comment Share on other sites More sharing options...
Daniel_Y Posted November 30, 2019 Share Posted November 30, 2019 13 hours ago, MacBread said: @Daniel_Y May I ask you when next version of SDK will be released?... Next public release would be v0.9.x, maybe in following a couple of weeks, One of major changes is re-architectured to client-sever based just like another Vive SDK SRanipal. In between, could try v0.8.5.0 1 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