The issue in textures isn't about count of textures but it's related to how many texture folders added to trenchbroom. texture folder paths will be saved in "_tb_textures" property in the map file and if the length of its value become greater than 255 characters then stack overflow and crash will be happened in the map file parsing.
from mrezai on discord — 20/06/2022 04:37