栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 游戏开发 > Unity3D

mac上unity报错:CmClientException: The client configuration file “client.conf“ contains errors

Unity3D 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

mac上unity报错:CmClientException: The client configuration file “client.conf“ contains errors

mac上通过unity hub安装了unity后,选了PlasticSCM托管,创建项目后,打开就疯狂报一个错误:

CmClientException: The client configuration file "client.conf" contains errors: Root element is missing.
Codice.Client.Common.ClientConfigData.a (System.String A_0, System.Boolean A_1) (at :0)
Codice.Client.Common.ClientConfigData.Load (System.String filename) (at :0)
Codice.Client.Common.ClientConfig.a (System.String A_0) (at :0)
Codice.Client.Common.ClientConfig.Get () (at :0)
Codice.Client.Common.PathHelper.a () (at :0)
Codice.Client.Common.PathHelper.IsCaseInsensitiveFs () (at :0)
Codice.Client.Common.PathHelper.GetPathComparer () (at :0)
Codice.Client.Common.FsNodeReaders.WorkspaceWatcherFsNodeReadersCache..ctor () (at :0)
Codice.Client.Common.FsNodeReaders.WorkspaceWatcherFsNodeReadersCache..cctor () (at :0)
Rethrow as TypeInitializationException: The type initializer for 'Codice.Client.Common.FsNodeReaders.WorkspaceWatcherFsNodeReadersCache' threw an exception.
Unity.PlasticSCM.Editor.PlasticApp.SetupFsWatcher () (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/PlasticApp.cs:156)
Unity.PlasticSCM.Editor.PlasticApp.InitializeIfNeeded () (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/PlasticApp.cs:40)
Unity.PlasticSCM.Editor.Beta.CalculateUserBetaProgramSetting.Execute (System.String unityAccessToken) (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/Beta/CalculateUserBetaProgramSetting.cs:42)
Unity.PlasticSCM.Editor.Beta.CalculateUserBetaProgramSetting.RunOnceWhenAccessTokenIsInitialized () (at Library/PackageCache/com.unity.collab-proxy@1.10.2/Editor/PlasticSCM/Beta/CalculateUserBetaProgramSetting.cs:27)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at :0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at :0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at :0)
System.Delegate.DynamicInvoke (System.Object[] args) (at :0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:310)

会一直报,上千条那种。
删了unity hub重装也没用。
看到是PlasticSCM的报错,去工程下删掉PlasticSCM相关的文件也不行,尴尬了。
解决办法:
安装PlasticSCM的客户端。
在创建工程的时候选上托管到PlasticSCM,会自动安装客户端,估计我第一次选了,但是客户端没装成功,以后每次我不选,但是工程中也会新建PlasticSCM相关的路径,会自动检测配置文件,没有客户端就没有配置文件,所以疯狂报错,大概这样子吧

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/900777.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号