Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

FormatException: Input string was not in a correct format in Unity 2018.3.0f2 #23

Open
ChumbaWambalala opened this issue Mar 20, 2019 · 1 comment · May be fixed by #44
Open

FormatException: Input string was not in a correct format in Unity 2018.3.0f2 #23

ChumbaWambalala opened this issue Mar 20, 2019 · 1 comment · May be fixed by #44

Comments

@ChumbaWambalala
Copy link

" FormatException: Input string was not in a correct format.
System.Globalization.TimeSpanFormat.Format (System.TimeSpan value, System.String format, System.IFormatProvider formatProvider) (at :0)
System.TimeSpan.ToString (System.String format, System.IFormatProvider formatProvider) (at :0)
System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) (at :0)
System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) (at :0)
System.String.Format (System.String format, System.Object[] args) (at :0)
Joycon.Update () (at Assets/JoyconLib_scripts/Joycon.cs:370)
JoyconManager.Update () (at Assets/JoyconLib_scripts/JoyconManager.cs:92) "

Test project is here, added only the latest package provided.

Switch Game.zip

@UlyssesWu
Copy link

Maybe simply change TimeSpan formatting string from s to t or g might fix this problem. Or just comment those Debug log lines.

Lag to dequeue: {3:s}. Lag between packets (expect 15ms): {4:s} -> {3:t} {4:g}

@taktran taktran linked a pull request Apr 2, 2021 that will close this issue
elblogbruno added a commit to elblogbruno/JoyconLib that referenced this issue Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants