For the most part, no. Unused code/features don’t affect the performance of your game (at least not in a measurable way). But there are some small exceptions. One of them is the required data that needs to be stored in Unreal’s base classes for multiplayer to work. Mostly simple variables like “bReplicates” in the AActor class, which defines if an actor should be replicated over the network or not.
how ?
For the most part, no. Unused code/features don’t affect the performance of your game (at least not in a measurable way). But there are some small exceptions. One of them is the required data that needs to be stored in Unreal’s base classes for multiplayer to work. Mostly simple variables like “bReplicates” in the AActor class, which defines if an actor should be replicated over the network or not.