Restart ViveSR.StartFramework() crashes in Unity

BSP-Lab
Contributor

Restart ViveSR.StartFramework() crashes in Unity

Hello,

 

I'm having an issue where when I stop the framework I cannot run it again, even if it's in a different scene. I do not seem to find where the problem is originating. Would you have any ideas?

 

I'm runnning SRWorks 0.7.5.3 on Unity 2018

 

Thank you

 

 

BSP-Lab
Contributor

Re: Restart ViveSR.StartFramework() crashes in Unity

This happens only when I StartFramework(); then StopFramework(); and then try to StartFramework() again, or when I switch between two scenes both running StartFramework().

 

@Jad @Dario

Moderator

Re: Restart ViveSR.StartFramework() crashes in Unity

Thanks for reporting - we'll look into it right away as we're preparing a new update. Please indicate which version of Unity and if possible which version of the NVIDIA driver and the log file (working folder) when it happened.

 @BSP-Lab

BSP-Lab
Contributor

Re: Restart ViveSR.StartFramework() crashes in Unity

Dear Dario, here the information

 

Unity 2018.2.8f1 (64bit)

Nvidia GeForce GTX 1070 v. 391.25

And what I assume to be the log data that you need from the working directory (SRworks.log)

 

[Vive SRWorks] [2018-10-24 09:45:08] [LOG] ViveSR_Initial() success
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] SRWorks Version 0.7.5.0
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] CPU : Windows 8+
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] CPU GetMemory Total : 16194.000000
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] CPU GetMemory InUse : 5750.000000
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] GPU : GeForce GTX 1070
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] GPU driver : 39125
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] GPU memory usage : 1351.320313
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] GPU memory loading: 21
[Vive SRWorks] [2018-10-24 09:45:08] [LOG] ViveSR_CreateModule() start
[JSON] [2018-10-24 09:45:08] [LOG] found steam install path
[JSON] [2018-10-24 09:45:08] [LOG] using device : LHR-46303FE2
[JSON] [2018-10-24 09:45:08] [LOG] using system : lighthouse
[JSON] [2018-10-24 09:45:08] [LOG] found device config file : C:\Program Files (x86)\Steam\config\lighthouse\LHR-46303FE2\config.json
[JSON] [2018-10-24 09:45:08] [LOG] Cali_V2D_00000
[JSON] [2018-10-24 09:45:09] [LOG] MIE_GCP_00000
[JSON] [2018-10-24 09:45:09] [LOG] found steam install path
[JSON] [2018-10-24 09:45:09] [LOG] using device : LHR-46303FE2
[JSON] [2018-10-24 09:45:09] [LOG] using system : lighthouse
[JSON] [2018-10-24 09:45:09] [LOG] found device config file : C:\Program Files (x86)\Steam\config\lighthouse\LHR-46303FE2\config.json
[JSON] [2018-10-24 09:45:09] [LOG] Cali_V2D_00000
[JSON] [2018-10-24 09:45:09] [LOG] MIE_GCP_00000
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] SeeThroughModuleSetDevice:: D3DDevice
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] CM_MT1_MID0_00000
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] ViveSR_CreateModule() end
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] ViveSR_CreateModule() start
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] CM_MT4_MID2_00000
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] ViveSR_CreateModule() end
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] ViveSR_CreateModule() start
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] ReconsModuleSetDevice:: D3DDevice
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] CM_MT5_MID4_00000
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] ViveSR_CreateModule() end
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] SM0ViveSR_StartModule() start
[Vive SRWorks] [2018-10-24 09:45:09] [LOG] SM0ViveSR_StartModule() check pass
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:09] [LOG] initialization mode 2-2
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:09] [LOG] Create Mapping table start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:10] [LOG] Create Mapping table end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:10] [LOG] Create Mapping table start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:10] [LOG] Create Mapping table end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:10] [LOG] initialization mode end2-2
[Vive SRWorks] [2018-10-24 09:45:10] [LOG] SM0ViveSR_StartModule() initial end
[Vive SRWorks] [2018-10-24 09:45:10] [LOG] SM0ViveSR_StartModule() initial pass
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:13] [LOG] TurnOn
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:13] [LOG] loading undistortion parameters start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:13] [LOG] loading undistortion parameters end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:13] [LOG] loading undistortion parameters start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:13] [LOG] loading undistortion parameters end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:13] [LOG] TurnOn end
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM0ViveSR_StartModule() start pass
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM0_00000
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM0ViveSR_StartModule() end
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2ViveSR_StartModule() start
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2ViveSR_StartModule() check pass
[ENGINE_DEPTH_2] [2018-10-24 09:45:13] [LOG] init_S
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2ViveSR_StartModule() initial end
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2ViveSR_StartModule() initial pass
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2ViveSR_StartModule() start pass
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2_00000
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM2ViveSR_StartModule() end
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4ViveSR_StartModule() start
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4ViveSR_StartModule() check pass
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4ViveSR_StartModule() initial end
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4ViveSR_StartModule() initial pass
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4ViveSR_StartModule() start pass
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4_00000
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] SM4ViveSR_StartModule() end
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] ViveSR_ModuleLink() start
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] LM2-4_MODE1_00000
[Vive SRWorks] [2018-10-24 09:45:13] [LOG] ViveSR_ModuleLink() end
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() start
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase1
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-0
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] TurnOff
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] ~DefishApp
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] ~DefishApp end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] ~DefishApp
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] ~DefishApp end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] TurnOff end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] ~Undistortion table
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:18] [LOG] ~Undistortion table
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-0_end
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-1
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-1_end
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-2
[ENGINE_DEPTH_2] [2018-10-24 09:45:18] [LOG] release_S
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-2_end
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-3
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-3_end
[Vive SRWorks] [2018-10-24 09:45:18] [LOG] ViveSR_Stop() phase2-4
[Vive SRWorks] [2018-10-24 09:45:19] [LOG] ViveSR_Stop() phase2-4_end
[Vive SRWorks] [2018-10-24 09:45:19] [LOG] ViveSR_Stop() phase2-5
[Vive SRWorks] [2018-10-24 09:45:19] [LOG] ViveSR_Stop() phase2-5_end
[Vive SRWorks] [2018-10-24 09:45:19] [LOG] ViveSR_Stop() phase3
[Vive SRWorks] [2018-10-24 09:45:19] [LOG] STP_WORKs__00000
[Vive SRWorks] [2018-10-24 09:45:19] [LOG] ViveSR_Stop() end
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_Initial() success
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] SRWorks Version 0.7.5.0
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] CPU : Windows 8+
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] CPU GetMemory Total : 16194.000000
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] CPU GetMemory InUse : 6255.000000
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] GPU : GeForce GTX 1070
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] GPU driver : 39125
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] GPU memory usage : 1281.160156
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] GPU memory loading: 15
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_CreateModule() start
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] SeeThroughModuleSetDevice:: D3DDevice
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] CM_MT1_MID0_00000
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_CreateModule() end
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_CreateModule() start
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] CM_MT4_MID2_00000
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_CreateModule() end
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_CreateModule() start
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ReconsModuleSetDevice:: D3DDevice
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] CM_MT5_MID4_00000
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] ViveSR_CreateModule() end
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] SM0ViveSR_StartModule() start
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] SM0ViveSR_StartModule() check pass
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:20] [LOG] initialization mode 2-2
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:20] [LOG] Create Mapping table start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:20] [LOG] Create Mapping table end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:20] [LOG] Create Mapping table start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:20] [LOG] Create Mapping table end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:20] [LOG] initialization mode end2-2
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] SM0ViveSR_StartModule() initial end
[Vive SRWorks] [2018-10-24 09:45:20] [LOG] SM0ViveSR_StartModule() initial pass
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:23] [LOG] TurnOn
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:23] [LOG] loading undistortion parameters start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:23] [LOG] loading undistortion parameters end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:23] [LOG] loading undistortion parameters start
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:23] [LOG] loading undistortion parameters end
[DEVICE_VIVE_HMD_DUALCAM_0_DLL] [2018-10-24 09:45:23] [LOG] TurnOn end
[Vive SRWorks] [2018-10-24 09:45:23] [LOG] SM0ViveSR_StartModule() start pass
[Vive SRWorks] [2018-10-24 09:45:23] [LOG] SM0_00000
[Vive SRWorks] [2018-10-24 09:45:23] [LOG] SM0ViveSR_StartModule() end
[Vive SRWorks] [2018-10-24 09:45:23] [LOG] SM2ViveSR_StartModule() start
[Vive SRWorks] [2018-10-24 09:45:23] [LOG] SM2ViveSR_StartModule() check pass
[ENGINE_DEPTH_2] [2018-10-24 09:45:23] [LOG] init_S
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM2ViveSR_StartModule() initial end
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM2ViveSR_StartModule() initial pass
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM2ViveSR_StartModule() start pass
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM2_00000
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM2ViveSR_StartModule() end
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4ViveSR_StartModule() start
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4ViveSR_StartModule() check pass
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4ViveSR_StartModule() initial end
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4ViveSR_StartModule() initial pass
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4ViveSR_StartModule() start pass
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4_00000
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] SM4ViveSR_StartModule() end
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] ViveSR_ModuleLink() start
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] LM2-4_MODE1_00000
[Vive SRWorks] [2018-10-24 09:45:24] [LOG] ViveSR_ModuleLink() end

BSP-Lab
Contributor

Re: Restart ViveSR.StartFramework() crashes in Unity

@Jad @Dario

 

Were you able to replicate this issue?

 

Thanks!

 

 

DanY
Pioneer

Re: Restart ViveSR.StartFramework() crashes in Unity

will be addressed in recent new release.