Hi,
I was trying to use the "Download Image" Blueprint node to load a texture dynamically, and it works well in editor and in a Windows package. However, when I package and run an HTML5 build, it immediately crashes with the message "Uncaught TypeError: Cannot read property 'trim' of undefined". Full stack trace from the browser console -
TP.html:496 exception thrown: TypeError: Cannot read property 'trim' of undefined,TypeError: Cannot read property 'trim' of undefined
at _UE_MakeHTTPDataRequest (blob:http://localhost:8000/221b3adb-39e4-...a2220:1:350726)
at __ZN17FHTML5HttpRequest12StartRequestEv (wasm-function[82821]:628)
at __ZN17FHTML5HttpRequest14ProcessRequestEv (wasm-function[82802]:91)
at __ZN23UAsyncTaskDownloadImage5StartE7FString (wasm-function[97505]:350)
at __ZN23UAsyncTaskDownloadImage13DownloadImageE7FString (wasm-function[97503]:51)
at __ZN23UAsyncTaskDownloadImage17execDownloadImageEP7UObjectR6FFramePv (wasm-function[99236]:143)
at __ZN9UFunction6InvokeEP7UObjectR6FFramePv (wasm-function[20742]:104)
at __ZN7UObject12CallFunctionER6FFramePvP9UFunction (wasm-function[23915]:2102)
at __ZN7UObject17execFinalFunctionEPS_R6FFramePv (wasm-function[23914]:13)
at __ZN6FFrame4StepEP7UObjectPv (wasm-function[23780]:60)
My blueprint code:

Can somebody please help me out with this issue?
I was trying to use the "Download Image" Blueprint node to load a texture dynamically, and it works well in editor and in a Windows package. However, when I package and run an HTML5 build, it immediately crashes with the message "Uncaught TypeError: Cannot read property 'trim' of undefined". Full stack trace from the browser console -
TP.html:496 exception thrown: TypeError: Cannot read property 'trim' of undefined,TypeError: Cannot read property 'trim' of undefined
at _UE_MakeHTTPDataRequest (blob:http://localhost:8000/221b3adb-39e4-...a2220:1:350726)
at __ZN17FHTML5HttpRequest12StartRequestEv (wasm-function[82821]:628)
at __ZN17FHTML5HttpRequest14ProcessRequestEv (wasm-function[82802]:91)
at __ZN23UAsyncTaskDownloadImage5StartE7FString (wasm-function[97505]:350)
at __ZN23UAsyncTaskDownloadImage13DownloadImageE7FString (wasm-function[97503]:51)
at __ZN23UAsyncTaskDownloadImage17execDownloadImageEP7UObjectR6FFramePv (wasm-function[99236]:143)
at __ZN9UFunction6InvokeEP7UObjectR6FFramePv (wasm-function[20742]:104)
at __ZN7UObject12CallFunctionER6FFramePvP9UFunction (wasm-function[23915]:2102)
at __ZN7UObject17execFinalFunctionEPS_R6FFramePv (wasm-function[23914]:13)
at __ZN6FFrame4StepEP7UObjectPv (wasm-function[23780]:60)
My blueprint code:
Can somebody please help me out with this issue?
Comment