Jump to content

Runtime Error Crash in Unity


HeyItsJazz

Recommended Posts

Hi,

I'm using the SRWorks SDK – 0.9.0.3 Version and getting the following error in the demo scene of ViveSR_Experience in Unity 2019.2.5f1 when hitting play:

Runtime Error! Program:

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

Unity quits when I hit the OK button.

 

I tried following the Guide "VIVE Getting Started with SRWorks Experience in Unity" but the error occurs anyway. I'm using the Vive Pro Eye if that matters. The camera has been activated and successfully tested in SteamVR 1.11.13. The SRWorks Runtime has been installed as well.

 

Any help is much appreciated.

 

 

 

screenshot error.png

Link to comment
Share on other sites

Thanks for the update! The error doesn't occur anymore and I am now able to start an test the SR Works Unity Experience build.

However, when I'm in the Experience Demo scene in the Unity editor and hit play I get 999+ errors:

[SteamVR] Could not find actions file at: D:/mypc/user/SRWorks Overlay/SR Works 0.9.3.0/actions.json
UnityEngine.Debug:LogError(Object)
Valve.VR.SteamVR_Input:IdentifyActionsFile(Boolean) (at Assets/SteamVR/Input/SteamVR_Input.cs:1296)
Valve.VR.SteamVR:CreateInstance() (at Assets/SteamVR/Scripts/SteamVR.cs:188)
Valve.VR.SteamVR:Initialize(Boolean) (at Assets/SteamVR/Scripts/SteamVR.cs:98)
Valve.VR.SteamVR_Behaviour:InitializeSteamVR(Boolean) (at Assets/SteamVR/Scripts/SteamVR_Behaviour.cs:119)
Valve.VR.SteamVR_Behaviour:Awake() (at Assets/SteamVR/Scripts/SteamVR_Behaviour.cs:100)

I followed the step by step instructions in the documentations, what am I missing here?

 

Again, thanks for your help.

error2.png

Link to comment
Share on other sites

Which Unity version you use?

Just double confirm if you follow the following?

I did the following steps with Unity 2019.3.1.f1/SRWorks 0.9.3.0 and it works.

Step 1: import Vive-SRWorks-Unity-Plugin.unitypackage

Step 2: restart Unity

Step 3: Import SteamVR from Unity asset store

Step 4: import Vive-SRWorks-Unity-Experience.unitypackage

Step 5: open scene Demo.Unity

Step 6: Play

Link to comment
Share on other sites

Get the same crash as above both when running the sample application and play from unity.

SteamVR version: 1.12.5 (this is a Beta or official release) Is there a way to downgrade to 1.11?

Unity: 2019.3.15

HTC Vive Pro

Latest SRWorks SDK

image.png.bf091daa04f794ac245d1b0ac521b0bd.png

@Daniel_Y

Link to comment
Share on other sites

12 hours ago, Dana said:

Get the same crash as above both when running the sample application and play from unity.

SteamVR version: 1.12.5 (this is a Beta or official release) Is there a way to downgrade to 1.11?

Unity: 2019.3.15

HTC Vive Pro

Latest SRWorks SDK

image.png.bf091daa04f794ac245d1b0ac521b0bd.png

@Daniel_Y

I have tested v0.9.3.0 with SteamVR version: 1.12.5 working.

If you run  sample application failed, could you Zip these logs under C:\Users\$(user_name)\AppData\LocalLow\HTC Corporation to us?

Link to comment
Share on other sites

On 6/3/2020 at 8:16 AM, Daniel_Y said:

Which Unity version you use?

Just double confirm if you follow the following?

I did the following steps with Unity 2019.3.1.f1/SRWorks 0.9.3.0 and it works.

Step 1: import Vive-SRWorks-Unity-Plugin.unitypackage

Step 2: restart Unity

Step 3: Import SteamVR from Unity asset store

Step 4: import Vive-SRWorks-Unity-Experience.unitypackage

Step 5: open scene Demo.Unity

Step 6: Play

 

So I've tried it with the suggested version and followed all the steps. Still getting the same "actions file missing" errors... I'm really running out of ideas here, could this be a SteamVR related issue? Currently using SteamVR 1.12.5 with SRWorks 0.9.3.0 and Unity 2019.3.1f1.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...