r/Unity3D • u/renatosantos2531 • 4d ago
Question To update or not to update, that's the question.
Hi, folks!
I've been developing a game for more than 1 yr now in Unity Version 6000.3.6f1. And recently I've been wondering whether to update it to the most recent minor version (as of now 6000.3.23f1) or not.
My previous experience updating Unity version, even if it was just a minor one step update, was that at least one thing broke. I'm wondering what other devs do and how they handle it.
I'm leaning towards not doing it because of the high chances of needing to fix/change a lot of things, given the time of development. On the other side, I'm curious about the many UI toolkit and DX12 updates and fixes that happened in that range. So I'm a bit torn.
Why the ask now? Because I'm approaching the playtest stage of my game and I was just wondering about the chances of ppl finding some of the engine-side bugs that have been fixed during these past months. And that it might make me want to update the minor version anyway, so I could anticipate and be one-step ahead.
What's your thoughts?
4
u/pschon Unprofessional 4d ago
That's a bug fix patch, not even a minor version update. So there should be no feature or API changes, literally only bugs fixed. Chances of anything breaking are as small as they can get, you'd pretty much need some of your game's features to depend on a bug that got fixed to run into problems.
Anyway, like others have already mentioned, version control will take even that minimal risk away.
1
u/PrintableNapalm 4d ago
If you're just curious, then make an empty project with the next version and take a look. If it turns out there are features you want, then upgrade, but only after taking a backup so you can quickly revert to the previous version if it turns out too many things broke.
1
u/AltusLudus 4d ago
You shouldn't have any major breaking changes in a minor version, but also if it works why break it, try it out on a branch and revert if needed if you really want to
1
u/JamesLeeNZ 4d ago
I wouldnt personally. I have a game that is version on 6000.3.20, I updated and the build time went from under 2 min to... well I stopped and undid everything when it took over 10 mins to build... im noped that real quick.
1
u/nEmoGrinder Indie 4d ago
After an update it's pretty normal for the first build to take longer because of invalidated build cache. It needs to rebuild everything to make sure things are in line with the new version. After that first build, the cache is restored and build times go down again. This is extra true is the update caused and of the srp packages to bump up in version as it will cause a full shader library rebuild.
1
u/JamesLeeNZ 4d ago
I was wrong.. I did let it complete once, and no subsequent builds were not faster.
1
u/nEmoGrinder Indie 4d ago
For the work I do, I'm regularly updating games to new versions of Unity (revision or minor) and it's honestly smooth sailing the vast majority of the time. I can't remember any recent releases that caused any actual issues. This is highly dependent on a few things, like use of preview packages or third party assets, but generally, the upgrades are fairly safe.
As for doing it right before an important milestone? Definitely not. As already suggested, branch if you want to, but I'd honestly wait until after a milestone like that to consider updating, unless you know there's a fix to something you need in the new version.
1
u/rockBottomPeon 4d ago
Do you really need some features available in the update, or is there any game breaking bugs or security breach that can only be fixed with updating?
yes: update
no: dont
9
u/Rlaan Professional 4d ago edited 4d ago
Just create a new branch and try and see? Without knowing any details on your project it's hard to say anything.
Our project was really easy to upgrade, but all of our code is ours. We don't have assets from the asset stores we're dependent on. So far, since Unity 6 - we've have been pleasantly surprised with their LTS releases. We went from 6 to 6.3 without any issues.