FindPortalSide: Couldn't find a good match for which brush to assign to a portal near ([x] [y] [z])
This error is usually followed by something like this:
Leaf 0 contents: (may vary)
Leaf 1 contents: CONTENTS_SOLID (may vary, e.g. CONTENTS_WATER)
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID (ditto)
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID.
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID.
Candidate brush IDs: [none or more brushnumbers].
Usually, this error is caused by a leak, so fix it if it is. If it isn't, there is a brush or a group of brushes that is giving vbsp.exe a hard time figuring out your level. Apparently it cannot determine the boundaries of a certain portal. Maybe there is a large brush covering the area, maybe the area is just too complicated for vbsp to figure out.
The details are not known, but usually turning entities into world brushes or vice versa helps to fight the problem. Just cutting a brush in two has also been observed to help.
Solution
- Find the given coordinates (or, if a brush number is given, search for the brush number) and see what you can do to simplify the area (like turning brushes to func_detail).
- You should also check to see if the brushes are overlapping at any point.
Impact
Depending on the message, geometry or BSP generation may fail or produce an incomplete result. Messages that are only warnings may have no effect on the finished map.