I am using VEGAS Pro 17.0. My video is 1080 x 1920 (vertical video), and so is the project settings. Although when I go to render it and select a template with the same exact aspect ratio it gives this message, yet it successfully renders in any other aspect ratio.

I've searched for everything and tried everything, but I haven't solved it yet.