Conversation
…ecks / cases + extract update ckecker form NugetWindow + rename asmdef
igor84
left a comment
There was a problem hiding this comment.
Nice work. It is sad we can't just use nullable reference types since they are only available since Unity 2020, I think. BTW. How do we decide when we can move the minimal supported version up?
|
|
||
| [ItemCanBeNull] | ||
| [CanBeNull] | ||
| [NonSerialized] |
There was a problem hiding this comment.
Why do you need NonSerialized attribute on private field?
There was a problem hiding this comment.
I was getting the warning CA2235:Mark all non-serializable fields without. I think the warning is not Unity related and doesn't apply to Unity. But I also found it useful for 'clarification'.
I don't know. I also thought about it. Are there any statistics of which versions are actively used? Just googled it but i could only found some really old stats. I don't know how games handle Unity updates if they work for years before releasing the Game and also maintaining / updating the game constantly, are they freezed on one Unity version? I am not a Game developer 😄 |
|
There are probably all kind of use cases. In my company where we develop mobile games we are mostly trying to update to new LTS within six months from release. Some old games that are not maintained any more are on older version but we don't actually open them in Unity any more. Plus even if we wanted to build a new release of some old game we would probably have to update Unity first because of all the yearly breaking changes by Android and iOS. On the other hand, desktop games probably don't have such hard limits to push them to update Unity so I would expect a lot of them get stuck on some old version where they have last seen active development. Anyway 2022 LTS was released this year which I think means that 2020 LTS is no longer supported since Jun and since we are supporting from 2018 that means we are supporting last 3 releases that are not supported by Unity any more. When I put it like this it sounds reasonable. We could reduce it to 2 such releases but probably not more... |
|
I will just merge this. We can easily (with one click) convert them to nullable reference types if we update Unity. |
Uh oh!
There was an error while loading. Please reload this page.