Skip to content

Pourfex/IssueSceneHostMlapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IssueSceneHostMlapi

Project for issue report on MLAPI

Describe the bug Main error : Cannot find pending soft sync object. Is the projects the same? When starting an host that switch scene, the binding between any new client for any networkedobjects is not working. That result with different network id for scene objects (one that have networkedobject on).

To Reproduce Steps to reproduce the behavior: Go to this github repository : Make 2 projects with this repository. One should start playmode and press space to be the host. One should start playmode and press b to be a client.

An error on client occured, you can check on the interaction scene the network id that are not the same.

Expected behavior The networked behaviour should have the same networking idn and no error should be displayed

Screenshots Error on client : image

Environment (please complete the following information):

  • OS: Windows 10
  • Unity Version: 2019.3.3f1
  • MLAPI Version: 6.0.1

Additional context Use in another context, find the bug and discuss it with NFMynster on discord. The workaround is to use the Unity Scene loader before starting the host like this :

SceneManager.LoadScene("InteractionScene");
SceneManager.sceneLoaded += (arg0, arg1) => {
            NetworkingManager.Singleton.StartHost();
        };  

About

Project for issue report on MLAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages