I'm also having the same problem. I've recently bought a realm and I can't use it because it is a world that requires a texture pack to work properly. I'm losing some realm time, so I hope this gets fixed as soon as possible! I think it is specifically affecting v1.7.1 because it wasn't doing this in v1.7.
It is a superflat world.