Unity-File-Debug
Unity-File-Debug copied to clipboard
HMD Bug in Steam VR (Open VR)
It seems that the logger does not handle the repositioning of assets within the scene - when the HMD is removed, the elements are somehow repositioned which makes the logger crash.
Stacktrace:
ArgumentOutOfRangeException: Cannot be negative. Parameter name: length System.String.Substring (Int32 startIndex, Int32 length) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:348) SSS.UnityFileDebug.UnityFileDebug.HandleLog (System.String logString, System.String stackTrace, LogType type) (at Assets/UnityFileDebug/Lib/Logger/Scripts/UnityFileDebug.cs:118) UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) (at C:/buildslave/unity/build/Runtime/Export/Application.cs:121) UnityEngine.Debug:Log(Object) Valve.VR.InteractionSystem.Player:Update() (at Assets/SteamVR/InteractionSystem/Core/Scripts/Player.cs:291)
Hi @Wandergin I suspect your issue may have been fixed with PR #9 I haven't released to the asset store yet but you can use this repo directly for now
If you don't mind sharing how you were using the logger that would be appreciated! If you don't have it anymore totally understandable :) Thanks for reporting
Hi Joel,
Thanks for coming back to this. So essentially this bug was related to putting on and off the VR headset (that’s when it would trigger), I could reproduce it every single time, so I just wouldn’t take the headset off until I’m done recording the output. I used HTC Vive and Unity backed by C#.
Best wishes, Marius
On Oct 31, 2019, at 3:10 PM, Joel Kuntz [email protected] wrote:
Hi @Wandergin https://github.com/Wandergin I suspect your issue may have been fixed with PR #9 https://github.com/Sacred-Seed-Studio/Unity-File-Debug/pull/9 I haven't released to the asset store yet but you can use this repo directly for now
If you don't mind sharing how you were using the logger that would be appreciated! If you don't have it anymore totally understandable :) Thanks for reporting
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sacred-Seed-Studio/Unity-File-Debug/issues/7?email_source=notifications&email_token=ACFKYESBHFBN2PAHNITL6ATQRLYMRA5CNFSM4HCY6BB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECYEDRY#issuecomment-548422087, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFKYEVUYIQ2LU4PSKRUX4DQRLYMRANCNFSM4HCY6BBQ.