WebGL Build issue: undefined symbol: DownloadFile

When I build for WebGL I always get the following error:

Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js: undefined symbol: DownloadFile (referenced by top-level compiled C/C++ code)

Is there anything we can do to solve this? This error has been haunting us all weekend now.

Editor version: 2022.3.7f1

All errors:

Build completed with a result of 'Failed' in 309 seconds (308579 ms)
3 errors
Building Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js failed with output:
error: undefined symbol: DownloadFile (referenced by top-level compiled C/C++ code)
warning: Link with `-s LLD_REPORT_UNDEFINED` to get more information on undefined symbols
warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _DownloadFile may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
emcc: error: '"C:/Program Files/Unity/Hub/Editor/2022.3.7f1/Editor/Data/PlaybackEngines/WebGLSupport/BuildTools/Emscripten/node/node.exe" "C:\Program Files\Unity\Hub\Editor\2022.3.7f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emscripten\src\compiler.js" D:\TEMP\tmp3ahc_ijz.json' failed (returned 1)
Library\Bee\artifacts\WebGL\build\debug_WebGL_wasm\build.js: Aborting compilation due to previous errors
0x00007ff61a84229d (Unity) StackWalker::GetCurrentCallstack
0x00007ff61a847249 (Unity) StackWalker::ShowCallstack
0x00007ff61b8133a1 (Unity) GetStacktrace
0x00007ff61bed4c02 (Unity) DebugStringToFile
0x00007ff619758736 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000022ed6f57b53 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000022ed6f57a6b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000022ed6f577b0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000022ed949d315 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000022ed949cc8b (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:smile:efaultResultProcessor (Bee.BinLog.NodeFinishedMessage,bool,bool)
0x0000022ed949d223 (Mono JIT Code) UnityEditor.WebGL.WebGlBuildPostprocessor:WebGLLinkerResultProcessor (Bee.BinLog.NodeFinishedMessage)
0x0000022ed949c5a7 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:ReportBuildResults ()
0x0000022ed6f8d023 (Mono JIT Code) UnityEditor.Modules.BeeBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs)
0x0000022ed6f8b6f3 (Mono JIT Code) UnityEditor.WebGL.WebGlBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs)
0x0000022ed6f8b1bb (Mono JIT Code) UnityEditor.Modules.DefaultBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x0000022ed6f8ac51 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x0000022ed6f8afc5 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int_int_int_object_object_object_int_int_int_object_object (object,intptr,intptr,intptr)

I have similar error like undefined symbol:smile:ownload, Did you solve it?

and my Unity version 2021.3.2

i try to check plugins in my project, after i removed a plugin called ‘XCharts’ , it succeeded to build