You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
string aa = "123";
if (!string.IsNullOrEmpty(aa))
{
string[] arr_str2 = aa.Split(',');
int bb = Convert.ToInt32(arr_str2[0]);
int cc = Convert.ToInt32(arr_str2[1]);
int dd = Convert.ToInt32(arr_str2[2]);
}
发现在 hotfix 的 component 里面处理数据应该出现 exception, 但unity没有任何提示,流程就断在 exception 出现的地方,
上面这段写在 model 的 Init.cs 或是 hotfix 的 Init.cs 都会有 outOfRangeException 提示,但如果写在继承 Component 的函数上就没提示
System.IndexOutOfRangeException: Index was outside the bounds of the array.
The text was updated successfully, but these errors were encountered: