Allowed types is not equal to the number of message type indices! Allowed Count: 0 | Index Count: 25

I have simple scene with netcode that just spawn object. On localhost machine everything works, but when I try to load app that connect to the server I see this message. I have no clue what does it mean

Allowed types is not equal to the number of message type indices! Allowed Count: 0 | Index Count: 25

Exception: Allowed types is not equal to the number of message type indices! Allowed Count: 0 | Index Count: 25

Unity.Netcode.ILPPMessageProvider.GetMessages () [0x00000] in <00000000000000000000000000000000>:0

Unity.Netcode.NetworkMessageManager…ctor (Unity.Netcode.INetworkMessageSender sender, System.Object owner, Unity.Netcode.INetworkMessageProvider provider) [0x00000] in <00000000000000000000000000000000>:0

Unity.Netcode.NetworkManager.Initialize (System.Boolean server) [0x00000] in <00000000000000000000000000000000>:0

Unity.Netcode.NetworkManager.StartClient () [0x00000] in <00000000000000000000000000000000>:0

Could you provide more details about your project? What version of Unity, what platform your client is running on, what version of NGO you are using, and describe how you are building the client?

That message means you have some serious differences between the client and server…and generally means that ILPP has not run on the binaries (i.e. a message table is built during this time and that message table does not contain anything).

Alternately, you could submit a bug via the Unity Editor which will allow you to include your project so someone on the netcode team can have a full view of why this issue is happening.

The problem was is that I loaded scene on client through regular SceneManager. I figured out that I need just call networkManager.StartClient()

1 Like