The aspect ratio doesn't adjust after packaging

Guys I’m using the pixel streaming for my project and i wanna use my phone to play the game but and when i run the project in standalone mode the view port scales to proper sizes fine but after packaging it doesn’t work anymore and i get black bars on top and bottom . How do i change the aspect ratio to match the mobile phone?

1 Like

Hi there!

Have you tried enabling “Match Viewport Resolution” in the front end settings panel of the active Pixel Stream? This should automatically scale the stream to match the device that is currently connected.

1 Like

not sure this will help but in the settings there’s a check for “should preserve aspect ratio”

1 Like

Hello @bumbumgoesnuts,

I shared my comments in a different thread, but it might work for your case as well.

I hope this can help you to solve the problem. :slight_smile:

– Serdar