Why my game is exported with a different camera size??

I have my screen aspect to the ratio of 2:3, which is intended for mobile. The camera already is sized properly to fit that, and in the game view I see this:

This is the intended way the game is supposed to look, but when I build it, it looks like:

And in my player settings I have the resolution of:
720 X 1280 width and height, which is supposed to be the dimensions of the 2:3 aspect ratio.
I really don’t know how to make the build appear like the aspect ratio I have in the editor.
Can someone help me with this?

Try the following if you have not already done so:

  • Turn off window scaling
  • Forcing the resolution in code (Not a good idea, but it works)