Can you compare the texture you are modifying (MyTexture2D param) and the texture asset from the content browser?

Do they have the same GetPathName()?
Although this is of course VERY strange, because the picture changes, but as if it does not belong to the asset…