Cannot redefine property: asmLibraryArg

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

I found a solution to this issue where you can still use unity 2019 and Unity-WebGL-Utilities plugin

if you just comment out the problematic if statement :

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;
    },
  });
}

the plugin will still work and the build will run as usual.
not sure whats going on there but it is possible that in 2019 Unity take care of this on their side so the plugin still works even tho the property is no longer available