I have a few mates (3) who all went out and bought new KTM 450s about three years ago. All three replaced every bearing in the gearbox within two years. There is a reason they are so light.
On Topic, all bikes have issues, the Huskys lost a lot of cred in the period 2006 to about 2009 before BMW took them over due to poor built quality, not design, build. Since the BMW takeover that has improved but isn’t perfect, neith is KTM I have seen several whinges about getting warrenty out of ol’ mate Leisky and his corporate pals.
Go to a dealer you trust and you’ll do better no matter which brand you choose is the simple answer!