更新时间:2023-11-17 22:08:16
If it is an encoding issue within that code, look at Encoding.Default.EncodingName
in the editor vs. during runtime. This will tell you if the default encodings are different.
作为一种可能的解决方案,请不要使用默认值.例如,使用
As a potential solution, don't use the default. For example, use Encoding.UTF8
. If you find out which encoding the Unity editor is using, you can use that.