Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException when player joins in PowerTowerUserLoadingRequestProcessor.ProcessPacket #470

Closed
hashworks opened this issue Nov 6, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@hashworks
Copy link

error

The error occurred instantly when a player joined. We restarted multiple times, but the error kept occurring. The player then moved to the host planet while the error was active and the game was saved and restarted, "fixing" the error – but that might be unrelated.

It might happen here when either

  • packet is null
  • factory.powerSystem is null
  • factory.powerSystem.netPool is null
  • GameMain.galaxy.PlanetById(packet.PlanetId).star is null
@hashworks
Copy link
Author

hashworks commented Nov 6, 2021

Additional note: The joining player was in another system where the host wasn't before. Three previous auto-saves also didn't work.

@hashworks
Copy link
Author

It seems like the player returning to the host planet "fixing" the error was unrelated.

@sp00ktober sp00ktober added the bug Something isn't working label Dec 3, 2021
@sp00ktober sp00ktober linked a pull request Feb 5, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants