Skip to content

build!: upgrade baseline Unity version from 2019.4 LTS to 2020.3 LTS#644

Closed
0xFA11 wants to merge 2 commits intorelease/0.1.0from
build/upgrade-version
Closed

build!: upgrade baseline Unity version from 2019.4 LTS to 2020.3 LTS#644
0xFA11 wants to merge 2 commits intorelease/0.1.0from
build/upgrade-version

Conversation

@0xFA11
Copy link
Copy Markdown
Contributor

@0xFA11 0xFA11 commented Mar 18, 2021

  • removes 2019.4 from Yamato CI/CD pipeline
  • replaces 2019.4 with 2020.3 in markdown docs
  • replaces UNITY_2020_2_OR_NEWER with UNITY_2020_3_OR_NEWER
  • upgrades baseline required version to 2020.3, otherwise causes a hard compile #error
  • updates testproject version and package version in the project due to 2019.4 to 2020.3 upgrade

Comment thread .yamato/project.metafile
- 2021.1
- 2021.2
- 2020.3
- 2019.4
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether or not to kick 2019.4 out from Yamato CI/CD since we have plans to potentially downgrade back to 2019.4 in the future

- Added message batching to handle consecutive RPC requests sent to the same client. `RpcBatcher` sends batches based on requests from the `RpcQueueProcessing`, by batch size threshold or immediately.
- [GitHub 494](https://github.com/Unity-Technologies/com.unity.multiplayer.mlapi/pull/494): Added a constraint to allow one `NetworkObject` per `GameObject`, set through the `DisallowMultipleComponent` attribute.
- Integrated MLAPI with the Unity Profiler for versions 2020.2 and later:
- Integrated MLAPI with the Unity Profiler for versions 2020.3 and later:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it should've been 2020.3 LTS instead of 2020.2 already — what you guys think? @lkrell @JesseOlmer

Copy link
Copy Markdown
Contributor

@wackoisgod wackoisgod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the best option to be honest.

Comment on lines -15 to +16
#if !UNITY_2019_4_OR_NEWER
#error MLAPI requires Unity 2019.4 or newer
#if !UNITY_2020_3_OR_NEWER
#error MLAPI requires Unity 2020.3 or newer
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would cause a hard compile error on build immediately if somebody were to put MLAPI into a project older than 2020.3 such as 2020.1, 2019.4 etc.

should we keep this or should we rely on package manager, package.json and other things constraining people to get MLAPI on older versions? @mattwalsh-unity @JesseOlmer @seanstolberg-unity

{
public class MLAPIProfiler : EditorWindow
{
#if !UNITY_2020_2_OR_NEWER
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, should this just be removed as a whole? Since we were keeping the MLAPIProfiler for version under 2020.2 but 2019.4+. Or for now we keep it like this and remove it whole for 1.0?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we aren't fully decided to make 2020.3 LTS baseline version requirement permanent yet. we might consider jumping back to 2019.4 LTS if we get some fixes around ILPP issues we're having — so it's still TBD, that's why I'm still keeping pre-2020.3 blocks around :)

Comment on lines -41 to +6
"com.unity.modules.xr": "1.0.0"
},
"testables": [
"com.unity.multiplayer.mlapi"
]
}
No newline at end of file
"dependencies": {
"com.unity.collab-proxy": "1.3.9",
"com.unity.ide.rider": "2.0.7",
"com.unity.ide.visualstudio": "2.0.7",
"com.unity.ide.vscode": "1.2.3",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes in this file (under testproject) are due to 2019.4 to 2020.3 upgrade. package versions are being updated here.

Comment on lines -1 to +2
m_EditorVersion: 2019.4.17f1
m_EditorVersionWithRevision: 2019.4.17f1 (667c8606c536)
m_EditorVersion: 2020.3.0f1
m_EditorVersionWithRevision: 2020.3.0f1 (c7b5465681fb)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testproject is no longer on 2019.4 LTS and now on 2020.3 LTS version.

Comment thread com.unity.multiplayer.mlapi/Documentation~/Manual.md Outdated
Copy link
Copy Markdown
Contributor

@lkrell lkrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good from doc side, verified Profiler with Beck. Only Doc tweak: added Unity upgrade guide link in the manual.md.

Co-authored-by: Lori Krell <76010626+lkrell@users.noreply.github.com>
@0xFA11
Copy link
Copy Markdown
Contributor Author

0xFA11 commented Mar 18, 2021

so, seems like #645 fixes 2019.4 ILPP issues.
I will put up another PR to convert UNITY_2020_2_OR_NEWER to UNITY_2020_3_OR_NEWER separately.

@0xFA11 0xFA11 closed this Mar 18, 2021
@0xFA11 0xFA11 deleted the build/upgrade-version branch March 18, 2021 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants