Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMD Bug in Steam VR (Open VR) #7

Open
Wandergin opened this issue Apr 1, 2019 · 2 comments
Open

HMD Bug in Steam VR (Open VR) #7

Wandergin opened this issue Apr 1, 2019 · 2 comments

Comments

@Wandergin
Copy link

Wandergin commented Apr 1, 2019

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)

@Frozenfire92
Copy link
Contributor

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

@Wandergin
Copy link
Author

Wandergin commented Oct 31, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants