Likely depends on the school, professors, etc.
Obviously, you’ll have a social transition and more - which can impact - everything from your comfort to finding study groups, etc.
If you’re going to law school, why would you transfer? Your school won’t matter - and if you’ve had any advising- well you’d have to start again.
I’d say there’s risk - but it’s hard to answer because every school and prof are different.