Hello,
It is how looks like my BoxCollider2D:
And in Unity Game preview it works correctly:
My character stops when I reach left edge
But when I run this app using Device Simulator or as apk on device, then this collision work like below:
It is this box on the edge:
it is pig: