Giter VIP home page Giter VIP logo

debugmissingparententity's Introduction

What problem does this solve?

Ever seen an error like this spammed in console?

UpdateNetworkGroup: Missing parent entity 7123456

This typically happens after a server restart if an entity was configured to save across reboots, while its parent entity was not, causing the child entity to keep looking for the parent every 2 seconds, continuously spamming the server console.

Note: Not all entities that are missing their parent will spam this error, so this plugin may reveal additional entities which can probably be killed.

What should I do?

Diagnose -- Run the debugMissingParents command in the server console to see which entities are missing their parent. This information will give you a directional indicator of which circumstances are causing the issue to arise in the first place. For example, plugins might be spawning entities and parenting them to entities that are not being saved, therefore causing this issue. It could also be a vanilla Rust bug.

Mitigate -- Run the debugMissingParents kill command to kill all entities that are missing their parent.

Commands

  • debugMissingParents -- Prints out information about all entities that are missing their parent.
  • debugMissingParents kill -- Kills all entities that are missing their parent.

Example output:

> debugMissingParents
Entities that are missing their parent:
1360496 (parent: 1360485) | BaseChair | assets/bundled/prefabs/static/chair.static.prefab @ (0.2, 0.0, -1.4)
1360518 (parent: 1360497) | BaseChair | assets/bundled/prefabs/static/chair.static.prefab @ (0.2, 0.0, -1.4)
1360678 (parent: 1360667) | BaseChair | assets/bundled/prefabs/static/chair.static.prefab @ (0.2, 0.0, -1.4)
1360769 (parent: 1360748) | BaseChair | assets/bundled/prefabs/static/chair.static.prefab @ (0.2, 0.0, -1.4)
> debugMissingParents kill
Killed 4 entities that were missing their parent.
> debugMissingParents
No entities found that are missing their parent. Hooray!

debugmissingparententity's People

Contributors

whetethunger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

sheinmyintaung

debugmissingparententity's Issues

error

upon installing the cs file it doesnt let me install it i this error message
Error while compiling: DebugMissingParentEntity.cs(36,59): error CS1061: Type uint' does not contain a definition for Value' and no extension method Value' of type uint' could be found. Are you missing `Newtonsoft.Json.Linq' using directive?
any help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.