Download

How to deactivate blueprints that are a certain distance away from the player (optimization)?

For the purpose of optimization I want to be able to completely “deactivate”, or keep only the mandatory logic of classes/blueprints that are a certain distance away from the player. Is there a good way to do this? Thank you.

You could have a Timer in those blueprints that check the distance to your player character every few seconds. If it’s more than the threshold, you can deactivate all logic, disable tick on it and its components, maybe remove collision, etc.