Skip to content

fix: unet removed from unity trunk v1.0.0 #1684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

NoelStephensUnity
Copy link
Collaborator

Fixing the most recent update to unity trunk where UNet no longer exists.
MTT-2483
This is a backport of #1678.

Changelog

com.unity.netcode.gameobjects

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

NoelStephensUnity and others added 8 commits February 11, 2022 13:35
Updating the NGO assembly.
excluding unet if it is not present.
Missed a few spots
CommandLineHandler had references to UNetTransport
Excluding Unity.Netcode.Transports.UNET from NetworkManagerHelper.
removing commented out UNet references and adding additional comments.
removing the relay stuff as it was not needed.
Adding UnityTransport support to the CommandLineHandler.
Disabling tools testing until we can figure out why they are breaking.
This reverts commit 2c8167e.
Seeing if this fixes the issues with the tools tests failing.
@@ -68,6 +70,7 @@ public static bool StartNetworkManager(out NetworkManager networkManager, Networ

Debug.Log($"{nameof(NetworkManager)} Instantiated.");

#if UNITY_UNET_PRESENT
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This part of the back port has to be different because of the fixes applied to develop for the console testing (#1664 & #1653). I will be migrating these updates into develop next week. Until then, this prevents certain tests from failing when UNet is not included and uses only SIPTransport.

@NoelStephensUnity NoelStephensUnity merged commit 5194a8a into release/1.0.0 Feb 15, 2022
@NoelStephensUnity NoelStephensUnity deleted the fix/unet-removed-from-unity-trunk-v1.0.0 branch February 15, 2022 02:48
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.

2 participants