Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在Unity 2022.3.20f1 #734

Open
Purpaca opened this issue Apr 14, 2024 · 0 comments
Open

在Unity 2022.3.20f1 #734

Purpaca opened this issue Apr 14, 2024 · 0 comments

Comments

@Purpaca
Copy link

Purpaca commented Apr 14, 2024

报错信息:
UnityException: Creating asset at path Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset failed.
WeChatWASM.UnityUtil.GetEditorConf () (at <37620f76a77e42dca81b639bbd55e023>:0)
WeChatWASM.WXSettingsHelper..cctor () (at ./Packages/com.qq.weixin.minigame/Editor/WXEditorSettingHelper.cs:55)
Rethrow as TypeInitializationException: The type initializer for 'WeChatWASM.WXSettingsHelper' threw an exception.
WeChatWASM.WXSettingsHelperInterface..cctor () (at ./Packages/com.qq.weixin.minigame/Editor/WXEditorSettingHelper.cs:16)
Rethrow as TypeInitializationException: The type initializer for 'WeChatWASM.WXSettingsHelperInterface' threw an exception.
UnityEditor.HostView.OnLostFocus () (at <5d5ebefe97114215928ac1d9cd096522>:0)
UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents, System.Boolean isSwitchingTab) (at <5d5ebefe97114215928ac1d9cd096522>:0)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane, System.Boolean killIfEmpty, System.Boolean sendEvents) (at <5d5ebefe97114215928ac1d9cd096522>:0)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane) (at <5d5ebefe97114215928ac1d9cd096522>:0)
UnityEditor.EditorWindow.set_position (UnityEngine.Rect value) (at <5d5ebefe97114215928ac1d9cd096522>:0)
WeChatWASM.WXEditorWin.Open () (at ./Packages/com.qq.weixin.minigame/Editor/WXEditorWindow.cs:15)

在第一次导入包时,文件”Assets/WX-WASM-SDK-V2/Editor/MiniGameConfig.asset“已经存在,在编辑器代码仍尝试创建该文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant