Skip to content

项目启报错,提示The type 'JObject' exists in both 'Newtonsoft.Json‘ #1

Description

@JiinJie

大佬请问下项目下载后启动报错,根据提示已经把重复文件删除了。重新编译后仍然报错,看起来像是组件重复引用的问题,请问下如何修改,让项目可以跑起来呢?
错误提示如下:
Library\PackageCache\com.unity.services.core@1.7.1\Runtime\Core.Internal\Registry\DependencyTreeExtensions.cs(74,24): error CS0433: The type 'JObject' exists in both 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' and 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'

image

unity 版本:2021.3.20f1 LTS版本

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions