sry my English is not that good,here is the problem
language:C# protobuf26.x
private void OnXXXChange(Logic.Protocol.XXX.XXXMsg msg)
{
XLog.ILog(TAG, $"Recieve OnxxxxChange:{msg}");
}
the stacktrace
System.TypeInitializationException: The type initializer for 'Logic.Protocol.Hvac.HvacMsgReflection' threw an exception. ---> System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
at System.Convert.FromBase64CharPtr (System.Char* inputPtr, System.Int32 inputLength)
at Logic.Protocol.XXXX.XXXMsgReflection..cctor ()
at Logic.Protocol.XXXX.XXXX.get_Descriptor
at Google.Protobuf.JsonFormatter.Format (Google.Protobuf.IMessage message, System.IO.TextWriter writer)
at Google.Protobuf.JsonFormatter.Format (Google.Protobuf.IMessage message)
How does it happen?
I do`nt know,never seen it
before.it was reported online,restart app donot solve,we can not keep the environment,and Restore Factory Settings it works well.