Skip to content

2DSpaceShooter playing single player as host causes exceptions #35

@hk1ll3r

Description

@hk1ll3r

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. enter play mode for "network" scene in editor
  2. shoot a few asteroids

Expected behavior
Be able to play the game without exceptions

Screenshots
N/A

Environment (please complete the following information):

  • OS: Windows 10
  • Unity Version: 2020.3.13f1
  • MLAPI Version: [e.g. v0.1.0]
  • Bitesize Samples Repository Version/Commit: 3dc3c39

Additional context
It seems that IsSpawned returns false in case of local host causing the issues.
Astroid's counts seems to be off as well.
Probably a lot of other things are going wrong as well if I ignore the exception and keep playing, I get many other types of exceptions...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions