Unity 2019-如何修复TextMeshPro 2.0错误CS0433 [英] Unity 2019 - How to fix TextMeshPro 2.0 error cs0433

查看:736
本文介绍了Unity 2019-如何修复TextMeshPro 2.0错误CS0433的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始了一个包含Vuforia SDK的新项目.进行一些更改后,我决定从Asset Store安装GitHub扩展进行一些备份.之后,我的textMeshPro插件发疯了,抛出了一个我无法处理的烦人的错误.错误提示:

I have just started new project that contains Vuforia SDK. After making some changes I decided to install GitHub extension from Asset Store to make some backup. After that my textMeshPro plugin went crazy, throwing an annoying error which I can't deal with. The error says:

Library\PackageCache\com.unity.textmeshpro@2.0.0\Scripts\Editor\TMP_PackageUtilities.cs(310,17): error CS0433: The type 'Task' exists in both 'System.Threading, Version=1.0.3333.0, Culture=neutral, PublicKeyToken=402899b480e6f383' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

有人知道如何摆脱它吗?

Does anybody has an idea how to get rid of it?

我的Unity版本是2019.1.0f2

My Unity version is 2019.1.0f2

推荐答案

解决方案:

谢谢您的回答,我在其他论坛上找到了解决方案.

Thank you for your answers, I have found solution on other forum.

统一2019.1.0f2中修复错误的方法

The way to fix the error in unity 2019.1.0f2

  1. 转到窗口->包裹管理器
  2. TextMesh Pro(将安装2.0.0版)
  3. 单击左侧的箭头>以查看所有可用版本. 4.将TextMesh Pro更新到1.3.0(与Unity 2018.3.12f1中的版本相同) 让编译器完成,您应该从控制台中清除错误
  1. Go to Window->Package Manager
  2. TextMesh Pro (Version 2.0.0 will be installed)
  3. Click on the arrow > on the left to see all the available versions. 4 .Update TextMesh Pro to 1.3.0 (same version as in Unity 2018.3.12f1) Let the compiler finish and you should see the error clearing from the console

原始帖子的链接:原始帖子

这篇关于Unity 2019-如何修复TextMeshPro 2.0错误CS0433的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆