BoxCollider2D works differently in Unity Preview and in Device Simulator

Hello,

It is how looks like my BoxCollider2D:
9534748--1345900--upload_2023-12-17_23-8-29.png

And in Unity Game preview it works correctly:
My character stops when I reach left edge
9534748--1345903--upload_2023-12-17_23-9-6.png

But when I run this app using Device Simulator or as apk on device, then this collision work like below:
9534748--1345906--upload_2023-12-17_23-10-39.png

It is this box on the edge:

it is pig:

Physics knows nothing about the Simulator and there’s no platform specific code in it so your problem isn’t physics.

That simply looks like rendering aspect. Verify that position is being rendered by rendering something there.