monetl Posted August 3, 2020 Share Posted August 3, 2020 15 hours ago, monetl said: Finally I found my issue, I just forget to download SR Works Runtime which is different of SR Runtime SR_logs.zip 805 B · 0 downloads Link to comment Share on other sites More sharing options...
monetl Posted August 3, 2020 Share Posted August 3, 2020 5 hours ago, monetl said: I found another issue but I found why. Like I am french Unity software uses "," and not "." for float value. So I written in ViveSR_DualCameraCalibrationTool line 196: return float.Parse(angle_array[angle_index].Replace(".",",")); Here what was my issue : FormatException: Input string was not in a correct format. System.Number.ParseSingle (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) (at <437ba245d8404784b9fbab9b439ac908>:0) System.Single.Parse (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) (at <437ba245d8404784b9fbab9b439ac908>:0) System.Single.Parse (System.String s) (at <437ba245d8404784b9fbab9b439ac908>:0) Vive.Plugin.SR.ViveSR_DualCameraCalibrationTool.LoadParamsValue (System.Int32 angle_index, System.Single default_value) (at Assets/ViveSR/Scripts/ViveSR_DualCameraCalibrationTool.cs:196) Vive.Plugin.SR.ViveSR_DualCameraCalibrationTool.LoadDeviceParameter () (at Assets/ViveSR/Scripts/ViveSR_DualCameraCalibrationTool.cs:136) Vive.Plugin.SR.ViveSR_DualCameraRig.Initial () (at Assets/ViveSR/Scripts/ViveSR_DualCameraRig.cs:179) Vive.Plugin.SR.ViveSR.UpdateWhileWorking () (at Assets/ViveSR/Scripts/ViveSR.cs:328) Vive.Plugin.SR.ViveSR.Update () (at Assets/ViveSR/Scripts/ViveSR.cs:175) Link to comment Share on other sites More sharing options...
monetl Posted August 14, 2020 Share Posted August 14, 2020 Is it an issue to correct on your sdk or I am wrong on method to avoid this issue: FormatException: Input string was not in a correct format ? Link to comment Share on other sites More sharing options...
Tony PH Lin Posted August 31, 2020 Share Posted August 31, 2020 Hi @monetl, Is this still an issue for you or you already find a way to resolve? Thanks. Link to comment Share on other sites More sharing options...
junzhi Posted October 28, 2020 Share Posted October 28, 2020 hi i'm also have this problem my configuration:: Unity 2019.4.13f1 (64-bit) SRWorks v9.7.1/v9.3.0 steamvr v1.13.10 OG HTC VIVE when I am in unity and lauch the demo, I only get a white square and black screen. Link to comment Share on other sites More sharing options...
monetl Posted November 6, 2020 Share Posted November 6, 2020 On 10/28/2020 at 1:34 PM, junzhi said: hi i'm also have this problem my configuration:: Unity 2019.4.13f1 (64-bit) SRWorks v9.7.1/v9.3.0 steamvr v1.13.10 OG HTC VIVE when I am in unity and lauch the demo, I only get a white square and black screen. You downloaded and launched SR Works Runtime and no SR Runtime? On 8/31/2020 at 10:06 AM, Tony PH Lin said: Hi @monetl, Is this still an issue for you or you already find a way to resolve? Thanks. You talk about "FormatException: Input string was not in a correct format" ? The method I used remove this error but I don't know if it's the right solution . Also I have not install new version of SR work since august 2020, so maybe trying last update of SRWork It will work, I will try if I find the time because currently I don't use this library in my project. Link to comment Share on other sites More sharing options...
a6100890 Posted December 1, 2020 Share Posted December 1, 2020 I have the same issue. When I run ViveSR_Sample in unity, i only see a black screen and a white square. Run on Windows10, Unity2018.4.28f1, SteamVR 1.5.12, SRWorks v0.9.7.1_Unity_Plugin and Vive Pro eye. However , I can I can successfully run the pre-compiled demo in SRWorks_v0.9.3.0_Prebuilt_Samples-Unity\Build-Unity\Experience\Vive_SRWorks_Demo.exe Thanks in advance. SR_logs.rar Link to comment Share on other sites More sharing options...
ndanderson Posted December 11, 2020 Share Posted December 11, 2020 I have the same issue - I can run the pre-compiled demo in SRWorks_v0.9.7.1_Unity_Prebuild_Samples, but not when I open the Samples in Unity (I see a black screen and white square). I'm using Vive Pro Eye, SRWorks 0.9.7.1, Unity 2019.4.16, SteamVR 1.15.2, and SRWorks Runtime 0.9.7.1 Link to comment Share on other sites More sharing options...
ndanderson Posted December 12, 2020 Share Posted December 12, 2020 I have the same issue - I can run the pre-compiled demo in SRWorks_v0.9.7.1_Unity_Prebuild_Samples, but not when I open the Samples in Unity (I see a black screen and white square). I'm using Vive Pro Eye, SRWorks 0.9.7.1, Unity 2019.4.16, SteamVR 1.15.2, and SRWorks Runtime 0.9.7.1 Edit: I got the demo to run by adding TrackedObject and PoseAction to LeftHand and Right (which were previously set to None). The code runs, but the controller buttons don't do anything. I don't know what they should be set to -- I don't understand why the actions are not already set in the demo code. Link to comment Share on other sites More sharing options...
Domcoc Posted May 6, 2021 Share Posted May 6, 2021 Hi, same problem here. -Unity 2019.4.18 / 2020.3.4 -SteamVR 1.16.10 -SRWorks 0.9.7.1 / 0.9.3 I have an HTC Vive Pro Eye SRWorks_Client.log 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