Hello
I have this error after moving to Addressable Assets tech in my project
I found the cause of the problem, It is an external jslib plugin (GitHub - kongregate/Unity-WebGL-Utilities: Some helpful utilities for Unity WebGL games).
Looks like it’s conflicting with 2019.x
removing this plugin works but I really need it in the project, the code that cause the issue is :
if (Module.CachedXMLHttpRequestDisable !== true) {
if (Module.CachedXMLHttpRequestLoader === true) {
if (typeof LoadCompressedFile == "function")
LoadCompressedFile = CachedXMLHttpRequest.wrap(LoadCompressedFile);
if (typeof DecompressAndLoadFile == "function")
DecompressAndLoadFile = CachedXMLHttpRequest.wrap(DecompressAndLoadFile);
}
Object.defineProperty(Module, "asmLibraryArg", {
get: function () { return Module.realAsmLibraryArg; },
set: function (value) {
if (typeof value == "object" && typeof value._JS_WebRequest_Create == "function")
value._JS_WebRequest_Create = CachedXMLHttpRequest.wrap(value._JS_WebRequest_Create);
Module.realAsmLibraryArg = value;
},
});
}
does anyone have a solution for this?
my thought is that the “asmLibraryArg” property is no longger available in unity 2019 version but I cant find anywhere a replacement for it…
Thanks