Godot C# Android构建使用System.Text.Json时无法加载System.Numerics.Vectors程序集
问题描述
在Godot C#项目的Android构建环境中,使用System.Text.Json NuGet包对自定义类执行反序列化操作时,会触发如下异常:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
已尝试的修复操作
手动为项目安装System.Numerics.Vectors NuGet包,问题未得到解决。
可行替代方案
目前暂未找到该问题的直接修复方案,可切换使用Json.NET(Newtonsoft.Json)包实现序列化/反序列化需求,该包可在Godot全平台正常运行。
内容的提问来源于stack exchange,提问作者Atlinx
相关产品推荐
相关产品推荐

