I'm trying to register handlers for custom network messages. It works flawlessly in the editor, but now when I'm doing the same on a build.
When I'm trying to register a serverside handler as this, the NetworkManager HUD's host / server button doesn't execute anything past the RegisterHandler().
RegisterHandler() works in the editor, but not in a build
When I'm trying to register a serverside handler as this, the NetworkManager HUD's host / server button doesn't execute anything past the RegisterHandler().
Code (CSharp):
- public class NetMessage
- {
- public const short CHAT_MSG = MsgType.Highest + 1;
- public const short PLAYER_INFO = MsgType.Highest + 2;
- }
- public class Shared_NetHandler
- {...