Unity This application has requested the Runtime to terminate it in an unusual way

티스토리 뷰

프로그램 실행시 발생 하는 'This application has requested the runtime to terminate it in an unusual way' 에러 해결 방안

이번 글에서는 프로그램 실행시  'This application has requested the runtime to terminate it in an unusual way' 에러가 발생하는 경우의 문제 해결 방안에 대해서 알아보도록 하겠습니다.

프로그램을 실행 시켰을때,아래와 같은 에러가 따악 발생을 한다면 어떻게 해야 할까요?

위의 문제는 프로그램 설치 혹은 다른 방법으로 인해서 Microsoft Visual C++ Runtime Library에 문제가 생겼을 경우 발생을 합니다. 

물론 기존 PC에 설치가 안되어 있었을 수도 있습니다.

이를 해결 하기 위해서는 

1) 클린 부팅을 하거나,

2) 기존의 Microsoft Visual C++ Redistributable Package를 삭제하고, Microsoft Visual C++ Redistributable Package를 재설치 

를 통해서 해결을 할 수 있습니다.

클린 부팅에 대한 방법은 아래의 링크를 참조해주시기 바랍니다.

Microsoft Visual C++ Redistributable Package 설치하는 방법에 대해서 안내해 드리겠습니다. Microsoft Visual C++ Redistributable Package는 OS에 따라서 설치해야하는 파일이 다릅니다. 32비트, 64비트로 구분이 되어 Microsoft에서 제공하기 때문에 이에 대해서 명확히 인지를 하고 설치를 해야합니다.

패키지를 설치할 수 있는 링크를 알려드리겠습니다. OS에 맞게 다운로드 받으신 후, 제어판에서 관련 패키지를 삭제하시고 다시 설치를 하시면 됩니다.

이 글이 도움이 되셨나요?

그렇다면 아래의 그림을 클릭해주세요.


  • Prev
  • 1
  • 2
  • Next
  • Page 1 of 2  

Unity This application has requested the Runtime to terminate it in an unusual way

    • Share

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.

Unity This application has requested the Runtime to terminate it in an unusual way

Link to comment
Share on other sites

Unity This application has requested the Runtime to terminate it in an unusual way

    • Share

Hi @HeyItsJazz,

We just released the latest version 0.9.3.0 to resolve several crash, performance and stability issues.

Suggest you to download this to have a try and let us know if your issue is still existed or not.

Thanks.

Link to comment
Share on other sites

Unity This application has requested the Runtime to terminate it in an unusual way

  • Author

    • Share

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.

Unity This application has requested the Runtime to terminate it in an unusual way

Link to comment
Share on other sites

Unity This application has requested the Runtime to terminate it in an unusual way

    • Share

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

Unity This application has requested the Runtime to terminate it in an unusual way

  • Author

    • Share

I've been using Unity 2019.2.5f1, will try again using the one you've suggested, thanks!

Link to comment
Share on other sites

    • Share

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

Unity This application has requested the Runtime to terminate it in an unusual way

@Daniel_Y

Link to comment
Share on other sites

Unity This application has requested the Runtime to terminate it in an unusual way

    • Share

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

Unity This application has requested the Runtime to terminate it in an unusual way

@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

    • Share

Link to comment
Share on other sites

Unity This application has requested the Runtime to terminate it in an unusual way

  • Author

    • Share

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

Unity This application has requested the Runtime to terminate it in an unusual way

    • Share

On 6/8/2020 at 2:44 PM, Dana said:

What SRWorks version are you using? Is it v0.9.3.0 or v0.9.0.3? v0.9.0.3 would not work with SteamVR version: 1.12.5.

And, please make sure you have admin right to use SRWorks.

Link to comment
Share on other sites

  • Prev
  • 1
  • 2
  • Next
  • Page 1 of 2  

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now

How do you fix the application has requested the Runtime to terminate it in an unusual way?

Open control pannel> program and features > repair all versions of Microsof visual c++ then restart pc and test 3. uninstall all the Microsoft visual c++ versions and download and install them again from Microsoft.com restart and test.

How do I get rid of runtime error?

How to Fix a Runtime Error.
Restart the computer. ... .
Update the program to its latest version. ... .
Fully delete the program, and then reinstall it. ... .
Install the latest Microsoft Visual C++ Redistributable package. ... .
Use SFC scannow to repair corrupted Windows files. ... .
Run System Restore to return your computer to a previous state..

How do I fix Microsoft Visual C++ runtime error?

How do I fix the Microsoft Visual C++ runtime library error?.
Perform a clean boot. Press Windows Key + R and enter msconfig. ... .
Remove your graphics card driver. ... .
Reinstall Windows 10. ... .
Reinstall Microsoft Visual C++ Redistributables. ... .
Create a new user account. ... .
Turn off the Compatibility mode. ... .
Reinstall the problematic application..

What is C++ runtime error?

Runtime Error: A runtime error in a program is an error that occurs while the program is running after being successfully compiled.