Invaders play error: NullReferenceException: Object reference not set to an instance of an object
yyget opened this issue · 0 comments
yyget commented
Describe the bug
when i click "start internet game" or "join internet game" button,Console show the error
NullReferenceException: Object reference not set to an instance of an object
MenuControl.StartLocalGame () (at Assets/Scripts/MenuControl.cs:19)
var utpTransport = (UnityTransport)NetworkManager.Singleton.NetworkConfig.NetworkTransport;
the project is downlaod from this git,and not edit,could you help me fix it?
To Reproduce
Steps to reproduce the behavior:
- open the project invaders ,play
- click the button start internet game
- See error in Console
Screenshots
Environment (please complete the following information):
- OS: Windows 10
- Unity Version:2021.3.10f
- netcode Version: 1.0.2