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 <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.ClientConfigData.Load (System.String filename) (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.ClientConfig.a (System.String A_0) (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.ClientConfig.Get () (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.PathHelper.a () (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.PathHelper.IsCaseInsensitiveFs () (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.PathHelper.GetPathComparer () (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.FsNodeReaders.WorkspaceWatcherFsNodeReadersCache..ctor () (at <e8b537aaf85747a79d6726b3ad5aefa2>:0)
Codice.Client.Common.FsNodeReaders.WorkspaceWatcherFsNodeReadersCache..cctor () (at <e8b537aaf85747a79d6726b3ad5aefa2>: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 <eae584ce26bc40229c1b1aa476bfa589>: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 <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:310)

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

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值