oppominigame / unity-webgl-to-oppo-minigame

Unity WebGL OPPO小游戏适配方案
13 stars 7 forks source link

使用mac打包oppo小游戏,报错 #8

Open liangpengfei opened 2 weeks ago

liangpengfei commented 2 weeks ago

Win32Exception: ApplicationName='cmd.exe', CommandLine='/c "quickgame -V"', CurrentDirectory='', Native error= Cannot find the specified file System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at :0) System.Diagnostics.Process.Start () (at :0) (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start() System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) (at :0) QGMiniGame.CmdRunner.CreateShellExProcess (System.String cmd, System.String args, System.String cwd, System.Boolean noWindow) (at Assets/OPPO-GAME-SDK/Editor/CmdRunner.cs:23) QGMiniGame.BuildEditorWindow.RunCommandProcess (System.String command) (at Assets/OPPO-GAME-SDK/Editor/BuildTool/BuildEditorWindow.cs:162) QGMiniGame.BuildEditorWindow.RunCommandProcessWait (System.String command, System.String& output) (at Assets/OPPO-GAME-SDK/Editor/BuildTool/BuildEditorWindow.cs:168) QGMiniGame.BuildEditorWindow.b__52_0 () (at Assets/OPPO-GAME-SDK/Editor/BuildTool/BuildEditorWindow.cs:363) System.Threading.Tasks.Task`1[TResult].InnerInvoke () (at <383fd28f951445cc8fd8a4a8bba28de6>:0) System.Threading.Tasks.Task.Execute () (at <383fd28f951445cc8fd8a4a8bba28de6>:0) --- End of stack trace from previous location where exception was thrown --- QGMiniGame.BuildEditorWindow.RequestQGBuildToolVersionAsync () (at Assets/OPPO-GAME-SDK/Editor/BuildTool/BuildEditorWindow.cs:360) QGMiniGame.BuildEditorWindow.UpdateQGBuildToolVersionStatusAsync () (at Assets/OPPO-GAME-SDK/Editor/BuildTool/BuildEditorWindow.cs:481) System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__7_0 (System.Object state) (at <383fd28f951445cc8fd8a4a8bba28de6>:0) UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:153) UnityEngine.UnitySynchronizationContext.Exec () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:83) UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)

liangpengfei commented 2 weeks ago

看起来是这个BuildTool只支持了Windows?mac没有支持吗? 20240831-222544

liangpengfei commented 2 weeks ago

只能通过文档里说的方案二,先自己打包成WEBGL,然后用quickgame来打包rpk,这个方案好像是可行的