the problem was found. It is not about ulong
Unity + Android using ulong
I get this ArgumentException: Object type System.Int32 cannot be converted to target type: System.UInt64 in my console, when trying to load my game on mobile. In Unity is all ok. 07-26 14:45:20.675 28150 28171 E Unity : ArgumentException: Object type System.Int32 cannot be converted to target type: System.UInt64 07-26 14:45:20.675 28150 28171 E Unity : Parameter name: val 07-26 14:45:20.675 28150 28171 E Unity : at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) [0x00000] in :0 07-26 14:45:20.675 28150 28171 E Unity : at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000] in :0 07-26 14:45:20.675 28150 28171 E Unity : at System.Runtime.Serialization.Formatters.Binary.ObjectReader.SetObjectValue (System.Object parentObject, System.String fieldName, System.Reflection.MemberInfo memberInfo, System.Runtime.Serialization.SerializationInfo info, System.Object value, System.Type valueType, System.Int32[] indices) [0x00000] in :0 07-26 14:45:20.675 28150 28171 E Unity : at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadValue (System.IO.BinaryReader reader, System.Object parentObject, Int64 parentObjectId, System.Runtime.Serialization.SerializationInfo info, System.Type valueType, System.Stri
Follow this Question
Related Questions
Wrote this subroutine for taking shots, but it's not working (and doesn't even ask for permissions) 0 Answers
Black screen when i go back to game 0 Answers
Application.OpenUrl() alternative for Android build 2022,Open URL in Android App 1 Answer
Dynamic meshes not visible on android (samsung galaxy s6) 2 Answers