Address U and V ignored on new Texture with pc.ADDRESS_REPEAT

Hi Great PlayCanvas Team, hi there,

I just “perhaps” discover an issue on new Texture command. Texture is loaded, I can set tiling and offset but ignores pc.ADDRESS_REPEAT parameter.

Where I wrong?

Thanks

Romeo

ModelController.prototype._loadTextureFromExternalSource = function(textureName, callBack) {
    const image = new Image();
    image.crossOrigin = "anonymous";
    const playCanvas = pc;
    const self = this;
    image.onload = function () {
        var newTexture = new playCanvas.Texture(self.app.graphicsDevice);
        newTexture.setSource(image);
        newTexture.addressU = playCanvas.ADDRESS_REPEAT; // this defaults to ADDRESS_REPEAT
        newTexture.addressV = playCanvas.ADDRESS_REPEAT; // this defaults to ADDRESS_REPEAT
        self.textureCache[textureName] = newTexture;
        callBack(newTexture);
    };
    image.src = `https://xxx.website.xx/${textureName}`; 
};

Ok, I found another post where the “not power of 2” is the issue.
Is there a way in future to avoid use context to resize image during loading?
Thx.
Romeo