嗨,我在简单登录时遇到问题(从这里https://github.com/bdodroid/SimpleScripts-LoginSystem)一切正常,但是当我想登录时它说:
ArgumentNullException:参数不能为空。参数名:s System.Int32.Parse(System.String s)(在/Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs:629) Login+c__Iterator13.MoveNext()(在 Assets/xxx/Demo/Login.cs:118)
我的 Login.cs 中的第 118 行是:
userID = int.Parse(parsedData[1]["ID"]);
请帮助我,我的代码与这里相同,因此您可以查看 https://github.com/bdodroid/SimpleScripts-LoginSystem
谢谢你!