Unity WebGL构建问题

时间:2020-05-15 11:33:26

标签: unity-webgl

我正在尝试在webgl上构建和运行游戏。但是,我得到失败的结果,并显示以下错误。

stdout:
stderr:INFO:root:Checking JS engine ['G:\\nodejs\\node_modules\\npm\\bin', '--stack_size=8192', '-- 
max-old-space-size=4096'] failed. Check your config file. Details: [Error 2] The system cannot find 
the file specifiedCRITICAL:root:The JavaScript shell (['G:\\nodejs\\node_modules\\npm\\bin', '-- 
stack_size=8192', '--max-old-space-size=4096']) does not seem to work, check the paths in the config 
file
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

UnityEditor.BuildPlayerWindow+BuildMethodException                                               
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions 
options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194 

at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, 
UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in 
C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

有人可以告诉我如何解决此问题,因为我试图解决它,但不确定如何解决。

0 个答案:

没有答案
相关问题