It's a massive compromise, you can't have a bike that's good at both, it will be stuck in the middle. I used to do trials, xc, jumping and 4x on a Scott YZ0. the only thing it did well was 4x, for everything else the geo was too slack, and for trials the brakes were dire and the chain fell off when I pedalled backwards.