更新2018.1到2018.3后,如何修复Unity textmeshpro错误?

问题描述 投票:0回答:1

在从unity 2018.1更新到Unity 2018.3之后,有一堆关于text mesh pro的错误消息。以下是错误消息/ Users / administrator / Dropbox / Sebastian / home / coding / Unity / Experimental Project/Library/PackageCache/[email protected]/Scripts/Runtime/TMP_Text.cs(4929,40):错误CS0121:以下方法或属性之间的调用不明确:TMPro.TMPro_ExtensionMethods.Multiply(this UnityEngine.Color32, UnityEngine.Color32)' andTMPro.TMPro_ExtensionMethods.Multiply(此UnityEngine.Color32,UnityEngine.Color32)'

/ Users / administrator / Dropbox / Sebastian / home / coding / Unity / Experimental Project/Library/PackageCache/[email protected]/Scripts/Runtime/TMPro_Private.cs(3552,92):error CS0121:call以下方法或属性之间存在歧义:TMPro.TMPro_ExtensionMethods.Compare(this UnityEngine.Color32, UnityEngine.Color32)' andTMPro.TMPro_ExtensionMethods.Compare(此UnityEngine.Color32,UnityEngine.Color32)'

多个名为'tmpro_plugin'的插件(可在'Packages / com.unity.textmeshpro / Plugins / 64 Bit Plugins / TMPro_Plugin.bundle'和'Assets / Downloaded Assets / TextMesh Pro / Plugins / 64 Bit Plugins / TMPro_Plugin.bundle中找到) “)。这意味着一个或多个插件设置为与编辑器兼容。编辑器当时只能使用一个插件。

unity3d game-engine
1个回答
0
投票

您的项目中有2个TMP文件夹,其中一个可能是在升级后从软件包中添加的。找到他们并删除新的快速修复...或者这样做:http://blog.collectivemass.com/2018/09/upgrading-textmesh-pro/

© www.soinside.com 2019 - 2024. All rights reserved.