Background and other objects offset

Hello,

I m facing a problem when i try to build an apk for android.

In debug mode on my phone and on desktop all my objects are in the same location. But when i try to build and run or export the apk, my background and my game object that is spawning that bottles are offsetted on × with like -600.
If i place them on x out of the main camera view, i can get them to fit into the screen, but in debug they are out of the screen.
Any trick what i should try try to fix this?

You probably need a plugin that allows you to view your build on different devices and aspect ratios. What you see in the editor can be misleading once you build it to a different device. I think there is a free Device Preview plugin now, but a few years ago i bought one from the asset store called Universal Device Preview, which still exists. Look into the free one of course and start there. It will be invaluable if you are trying to make mobile games.

Thanks, I will it later

Hello,
I tried and installed Device Preview (the free plugin) , this has devices until galaxy s10+ and Z fold, for each device i change all my Scene is messing up, until i fit them into the screen for the specific device.
I try to build for Galaxy S20, all the configurations i try i cannot get them to fit my objects into the screen of my phone.

When i select another device this is what happens with my Scene: (everything goes out of the camera)

You should look up canvas scaling and work around that. This video should help a bit.

Unity 5 UI Tutorial - How to scale the canvas for all screen sizes - YouTube