Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Actor Replication Net Relevancy #1348

Merged
merged 7 commits into from
Sep 17, 2019
Merged

Conversation

jnicholas-io
Copy link
Contributor

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.


Description

Add net relevancy check to replicating actors. When prioritizing actors for replication, the position of each actor is checked against the NetViewCullDistance of each player controller present in the game. If the actor is not withing these ranges or is not bAlwaysRelevant, it will no longer be replicated.

Tests

Tested this branch and master branch in a large scale game with Unreal performance stat capturing enabled to diff and performance gain.

Primary reviewers

@m-samiec @improbable-valentyn

@improbable-prow-robot improbable-prow-robot added jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/S Denotes a PR that changes 15-39 lines, ignoring generated files. labels Sep 13, 2019
@m-samiec
Copy link
Collaborator

Can we test this in an offloading project also?

@improbable-prow-robot improbable-prow-robot added size/M Denotes a PR that changes 40-149 lines, ignoring generated files. and removed size/S Denotes a PR that changes 15-39 lines, ignoring generated files. labels Sep 16, 2019
@jnicholas-io
Copy link
Contributor Author

Can we test this in an offloading project also?

Tested in Example Shooter project with offloading enabled, behaved as expected

CHANGELOG.md Outdated Show resolved Hide resolved
@improbable-prow-robot improbable-prow-robot added size/S Denotes a PR that changes 15-39 lines, ignoring generated files. and removed size/M Denotes a PR that changes 40-149 lines, ignoring generated files. labels Sep 17, 2019
Copy link
Collaborator

@m-samiec m-samiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

jnicholas-io and others added 2 commits September 17, 2019 11:50
Co-Authored-By: improbable-valentyn <32096431+improbable-valentyn@users.noreply.github.com>
@improbable-prow-robot improbable-prow-robot added size/M Denotes a PR that changes 40-149 lines, ignoring generated files. and removed size/S Denotes a PR that changes 15-39 lines, ignoring generated files. labels Sep 17, 2019
@jnicholas-io jnicholas-io merged commit 7d101df into master Sep 17, 2019
@m-samiec m-samiec deleted the feature/actor-net-relevancy branch October 21, 2020 10:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/M Denotes a PR that changes 40-149 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants