Search found 1 match
- Wed Mar 29, 2017 4:29 am
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Easy Save 2 Error: Expected data of type System.Single
- Replies: 1
- Views: 4557
Easy Save 2 Error: Expected data of type System.Single
like the title. I got this error,so I write a function to try-catch this error. But the error still exist. Here is my function public T TryLoadES2<T>(string tag) { try { return (T)Convert.ChangeType(ES2.Load<float>(fullFileName + "?tag=" + tag), typeof(T)); } catch (Exception e) { return (...