Skip to content
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

Integrating Unity Transport and Relay into Boss Room #366

Merged
merged 48 commits into from
Sep 20, 2021

Conversation

Cosmin-B
Copy link
Contributor

Will follow up with a better description!

fjgal and others added 30 commits June 21, 2021 21:39
* develop:
  Feature/player persistence prefab refactor (#349)
  upping MLAPI develop version (#355)
  Update to MLAPI: onnetworkspawn refactoring, player prefab removed from networkmanager prefab list (#352)

# Conflicts:
#	Assets/BossRoom/Prefabs/NetworkingManager.prefab
#	Packages/packages-lock.json
* feature/adding-UTP:
  Adding ParrelSync and updating third party notice.md (#357)
  updating to latest UTP
  Feature/player persistence prefab refactor (#349)
  upping MLAPI develop version (#355)
  Update to MLAPI: onnetworkspawn refactoring, player prefab removed from networkmanager prefab list (#352)
  porting to UTP

# Conflicts:
#	Assets/BossRoom/Prefabs/NetworkingManager.prefab
#	Assets/BossRoom/Scenes/Startup.unity
#	Assets/BossRoom/Scripts/Client/BossRoom.Client.asmdef
#	Assets/BossRoom/Scripts/Shared/BossRoom.Shared.asmdef
#	Assets/BossRoom/Scripts/Shared/Game/UI/Editor/NetworkLatencyWarning.cs
#	Packages/manifest.json
#	Packages/packages-lock.json
#	ProjectSettings/PackageManagerSettings.asset
…e testing against the same revisions as before
Only compilation commit still WIP
@SamuelBellomo
Copy link
Contributor

I added a few comments that didn't touch your work, not sure who to talk to service side for this, this API is weird.
Also, I'm noticing you have private repos in PackageManagerSetting.asset and other manifest.

@Cosmin-B
Copy link
Contributor Author

Cosmin-B commented Sep 15, 2021

I added a few comments that didn't touch your work, not sure who to talk to service side for this, this API is weird.

Yes, you are right, 99% of the relay code has been extracted from the Relay sample or the UTP Transport adapter. We can inform @bgagnon and @fjgal. Although, i would still think that some of these comments could be addressed.

* Fixing Relay API using the new simpler API
* removing Candidates repo
* Remove ref to tools as its private
@andrews-unity
Copy link
Contributor

I added a few comments that didn't touch your work, not sure who to talk to service side for this, this API is weird.

Yes, you are right, 99% of the relay code has been extracted from the Relay sample or the UTP Transport adapter. We can inform @bgagnon and @fjgal. Although, i would still think that some of these comments could be addressed.

I have updated the API to using the new simple API which is much cleaner and less weird! With that said we intentionally didn't want Relay stuff in the Adapter because while not implemented in this sample we didn't want it to need to the relay SDK and there is point where users will need to select their region and if they want to use DTLS or not which we (Relay and Server) didn't feel that should be in the adapter. So the only entry point is setting the connection data.

- Remove unused functions
- Clean-up logs and correctly add try-catch exceptions, now we will display a pop up
- Added a small singleton implementation for the MainMenuUI to be easily accessible from other classes
- Remove NetworkVariableGUID file
- Remove commented out code
VALERE91Unity
VALERE91Unity previously approved these changes Sep 17, 2021
Copy link
Contributor

@VALERE91Unity VALERE91Unity left a comment

Choose a reason for hiding this comment

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

Could we create an issue concerning the join through IP and port for UTP? So we don't forget that we cannot anymore and we need to fix it ASAP?

@SamuelBellomo
Copy link
Contributor

Could we create an issue concerning the join through IP and port for UTP? So we don't forget that we cannot anymore and we need to fix it ASAP?

Created https://jira.unity3d.com/browse/MTT-1238
Thanks for making us think about it :)

Copy link
Contributor

@SamuelBellomo SamuelBellomo left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Contributor

@VALERE91Unity VALERE91Unity left a comment

Choose a reason for hiding this comment

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

Ship it!!!!

@Cosmin-B Cosmin-B merged commit 68841a3 into develop Sep 20, 2021
@fernando-cortez fernando-cortez deleted the feature/unity-relay branch September 20, 2021 16:20
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.

None yet

9 participants