For better or worse the "growth at all costs" strategy was the strategy companies like Unity had to employ for the last decade to attract investor capital so I tend to blame the low interest rate "easy money" environment more than companies like Unity being reckless.
Although that said, it does seem Unity made some stupid moves in recent years. I don't follow the company that closely, but I'm aware they made some large acquisitions funded in-part with debt during the pandemic. It's one thing taking on debt if you have a strong balance sheet, but it seems a little short-sighted for a company losing billions to use debt to fund an acquisition – especially at the elevated prices they paid during the pandemic.