You might want to check if your new sensor operates at the same voltage level as the old sensor and your Arduino. If your sensor is 3.3v only, and your Arduino is 5v, you probably need a level shifter. Obviously you would also want to check that you have correctly wired the new sensor, and have appropriate pullups for SCA/SCL.