Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Bugfix net binding destroying random entities #499

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jun 29, 2020

  1. Update NetBindingSystemImpl.cpp

    When a client is deleting netbound entities (for which he is not the authority), this leaves the NetBinding system with pointers to invalid entities in the m_boundEntities. Causing either crashes or deletion of random entities when the authority actually signals destruction of the netreplicated slice.
    
    I'm working around this by storing entity Ids rather than storing pointers.
    CDufour909 committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    3a5a7cf View commit details
    Browse the repository at this point in the history
  2. Update NetBindingSystemImpl.h

    The header file changing the m_boundEntities vector contents from Entity pointers to entity Ids
    CDufour909 committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    9282d4a View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2020

  1. Update NetBindingSystemImpl.cpp

    Fixed bug where whole slice would get destroyed as soon as authority destroyed one of the slice's entities
    CDufour909 committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    a1c8704 View commit details
    Browse the repository at this point in the history