This is probably a basic question, but I can’t find anything with instructions via Google or on the forums here.
I’ve made a doorway in two polygonal walls of a room. I’m trying to patch the inner part of the doorway (i.e. create a polygon between the inner and outer walls). Without the new polygons, it looks like this:

Once I connect the vertices to create a polygon that connects the two walls, it looks like this:

I’ve experimented with different ways to connect them, and it always ends up like this. I found a tutorial for Unreal and C4D that talked about smoothing groups, but when I tried that it either didn’t work, or I set it up incorrectly. What step am I missing?
Thanks!