minigame-unity-webgl-transform icon indicating copy to clipboard operation
minigame-unity-webgl-transform copied to clipboard

在Unity 2022.3.20f1

Open Purpaca opened this issue 1 year ago • 0 comments

报错信息: 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“已经存在,在编辑器代码仍尝试创建该文件

Purpaca avatar Apr 14 '24 14:04 Purpaca