Unity 5.4 Removed CreateMatchRequest() and others from Networking.Match

Hi all,

I’ve recently downloaded the NetworkLobbyManager example to test out the network lobby manager, only to find several errors in the code. Upon see the errors I’ve found that the classes I’m looking for were removed in Unity 5.4

 public override void OnMatchCreate(CreateMatchResponse matchInfo)

and

 public void OnDestroyMatch(BasicResponse extendedInfo)

Can someone please explain why these were removed, and if I can get this project to work again, which methods do I use to replace these (possibly obsolete) ones?

Thanks,
CausticLasagne

So, this script is on an object that is in a scene you load, unload and reload ? Do you simply load the scene with the SceneManager?

2 Answers

2

The method CreateMatch has changed in 5.4 now take different arguments.

So has anyone found an answer? Unity Devs?
Removing these functions and methods has broken so many projects.
Why were they removed so suddenly, and with no depreciation tag?

CausticLasagne

This script is attached to a object in my store scene, and on that store scene is a back button that takes you to the play scene, but when you go back to that scene again (using scenmanager) it doesn't reload the script.