Unity isn’t a game engine. It’s a malware-pushing advertising network which merged with a game engine to acquire a delivery channel and now wears its skin. This is fine for the bigger devs and publishers structured around platform relationships, but for everyone else? Gamemaker, Godot, Unreal, Defold… pick a flavor, they’re all on square one.
Also phaser.js is really good. It’s been around for some time so it’s very mature and stable, has great documentation and lot’s of examples.
And Vampire Survivors just switched from phaser.js to Unity - wonder if they regret that now.