如果在unity編輯器底端出現(xiàn)了這樣的報錯 字樣,你的game進程可能會受到影響
Plastic scm的報錯:
CmClientException: The client configuration file "client.conf" contains errors: Root element is missing.
Codice.Client.Common.ClientConfigData.Deserialize (System.String filename, System.Boolean bThrowOnError) (at <8d9c715c82d0486d94302c11b07ddc1c>:0)
Codice.Client.Common.ClientConfigData.Load (System.String filename) (at <8d9c715c82d0486d94302c11b07ddc1c>:0)
Codice.Client.Common.ClientConfig.InitFromFile (System.String fileName) (at <8d9c715c82d0486d94302c11b07ddc1c>:0)
Codice.Client.Common.ClientConfig.Get () (at <8d9c715c82d0486d94302c11b07ddc1c>:0)
Unity.PlasticSCM.Editor.FindWorkspace.PathForApplicationPath (System.String path) (at ./Library/PackageCache/com.unity.collab-proxy@2.2.0/Editor/PlasticSCM/FindWorkspace.cs:21)
Unity.PlasticSCM.Editor.FindWorkspace.HasWorkspace (System.String path) (at ./Library/PackageCache/com.unity.collab-proxy@2.2.0/Editor/PlasticSCM/FindWorkspace.cs:12)
Unity.PlasticSCM.Editor.PlasticPlugin..cctor () (at ./Library/PackageCache/com.unity.collab-proxy@2.2.0/Editor/PlasticSCM/PlasticPlugin.cs:55)
Rethrow as TypeInitializationException: The type initializer for 'Unity.PlasticSCM.Editor.PlasticPlugin' threw an exception.
Unity.PlasticSCM.Editor.CollabMigration.CloudProjectId.HasValue () (at ./Library/PackageCache/com.unity.collab-proxy@2.2.0/Editor/PlasticSCM/CollabMigration/CloudProjectId.cs:9)
Unity.PlasticSCM.Editor.CollabMigration.MigrateCollabProject.RunOnceWhenAccessTokenAndProjectIdAreInitialized () (at ./Library/PackageCache/com.unity.collab-proxy@2.2.0/Editor/PlasticSCM/CollabMigration/MigrateCollabProject.cs:33)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <57799cfc78614a8e9fed14dd59f3901a>:0)
這是由于在使用 Plastic SCM 作為版本控制工具中,?client.conf 文件出現(xiàn)了問題,這個文件是用來存儲 Plastic SCM 的主要用戶偏好的,它位于隱藏文件夾 Users/youruser/.plastic4 (Mac) 或 Users/youruser/appdata/local/plastic4 (windows) 中。
?文章來源地址http://www.zghlxwxcb.cn/news/detail-799524.html
解決方案:
關閉 Unity 編輯器,刪除 client.conf 文件,然后重新打開 Unity 編輯器。這樣,Unity 編輯器會在下次啟動時重新生成 client.conf 文件。文章來源:http://www.zghlxwxcb.cn/news/detail-799524.html
?
到了這里,關于unity編輯器PlasticSCM報錯處理的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網(wǎng)!