You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.09.24 14:15:08