# \#best-practice

**URL:** https://forums.unrealengine.com/tag/best-practice/3067.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [What kind of Subsystems are replicated?](https://forums.unrealengine.com/t/what-kind-of-subsystems-are-replicated/480488)

<div class="topic-metadata">

**Author:** [@Bionic\_Ape](https://forums.unrealengine.com/u/Bionic_Ape)\
**Replies:** 12\
**Last updated:** [September 2, 2026, 9:06am UTC](https://forums.unrealengine.com/t/what-kind-of-subsystems-are-replicated/480488 "2026-09-02T09:06:33Z")

</div>

Subsystems are really cool, they keep things organized. But I don’t know how and when use them for replication. Engine? I don’t see how this would be replicated. Editor? I’m sure this is not replicated. GameInstance? …

---

## [How to automatically assign Reference Preview Surface Translucent Material for USD Stage/Import](https://forums.unrealengine.com/t/how-to-automatically-assign-reference-preview-surface-translucent-material-for-usd-stage-import/2627245)

<div class="topic-metadata">

**Author:** [@Kortareh](https://forums.unrealengine.com/u/Kortareh)\
**Replies:** 1\
**Last updated:** [August 11, 2025, 1:30am UTC](https://forums.unrealengine.com/t/how-to-automatically-assign-reference-preview-surface-translucent-material-for-usd-stage-import/2627245 "2025-08-11T01:30:49Z")

</div>

Hello! I’m trying to us the USD Importer plugin, but I’m running into an issue with it’s materials. It seems like it has the ability to automatically assign a standard surface or translucent surface material, however I h…

---

## [Best Practice For Open World Optimisation? - Stalker 2 ZoneKit analysis](https://forums.unrealengine.com/t/best-practice-for-open-world-optimisation-stalker-2-zonekit-analysis/2591864)

<div class="topic-metadata">

**Author:** [@Hambo1994](https://forums.unrealengine.com/u/Hambo1994)\
**Replies:** 0\
**Last updated:** [July 5, 2025, 2:49pm UTC](https://forums.unrealengine.com/t/best-practice-for-open-world-optimisation-stalker-2-zonekit-analysis/2591864 "2025-07-05T14:49:08Z")

</div>

Hello All, Looking at the newly released Stalker 2 ZoneKit I noticed that they appear to utilise custom prefab actors and tools, and all of their actors in the actual game world are packed into API’s (ActorPackedInstanc…

---

## [Best practice for PlayerController with AI-Navmesh abilities](https://forums.unrealengine.com/t/best-practice-for-playercontroller-with-ai-navmesh-abilities/2256468)

<div class="topic-metadata">

**Author:** [@User-14315051c8](https://forums.unrealengine.com/u/User-14315051c8)\
**Replies:** 1\
**Last updated:** [January 2, 2025, 9:56pm UTC](https://forums.unrealengine.com/t/best-practice-for-playercontroller-with-ai-navmesh-abilities/2256468 "2025-01-02T21:56:23Z")

</div>

Hey, I switched from Unity to Unreal and want to make a local multiplayer game. I binged alot of YouTube Tutorials and read guides online but I still struggle with best practices for blueprint workflows. My vision: I w…

---

## [Generating/deriving/baking assets for use in game from other source assets](https://forums.unrealengine.com/t/generating-deriving-baking-assets-for-use-in-game-from-other-source-assets/2234038)

<div class="topic-metadata">

**Author:** [@jmu757](https://forums.unrealengine.com/u/jmu757)\
**Replies:** 2\
**Last updated:** [December 22, 2024, 12:06am UTC](https://forums.unrealengine.com/t/generating-deriving-baking-assets-for-use-in-game-from-other-source-assets/2234038 "2024-12-22T00:06:40Z")

</div>

Hi folks, I have a question about best practices for managing generated/derived assets in UE. I have some cases in a project where I want to generate a runtime asset for use in-game, based on a source asset that’s config…

---

## [\[FIX\] How to create subdirectories in Source folder for C++ files  without errors in UE5](https://forums.unrealengine.com/t/fix-how-to-create-subdirectories-in-source-folder-for-c-files-without-errors-in-ue5/755710)

<div class="topic-metadata">

**Author:** [@Porotoo](https://forums.unrealengine.com/u/Porotoo)\
**Replies:** 3\
**Last updated:** [September 4, 2024, 7:11pm UTC](https://forums.unrealengine.com/t/fix-how-to-create-subdirectories-in-source-folder-for-c-files-without-errors-in-ue5/755710 "2024-09-04T19:11:49Z")

</div>

Hi everyone! I am kinda new to Unreal, I been really struggling with the creation of subfolders inside the “Source” folder of Unreal C++ classes. So the main problem is this: I want to create new C++ class inside a subfo…

---

## [How to package and branch for different distributors and demos?](https://forums.unrealengine.com/t/how-to-package-and-branch-for-different-distributors-and-demos/1900272)

<div class="topic-metadata">

**Author:** [@PixelBennet](https://forums.unrealengine.com/u/PixelBennet)\
**Replies:** 1\
**Last updated:** [July 12, 2024, 8:01am UTC](https://forums.unrealengine.com/t/how-to-package-and-branch-for-different-distributors-and-demos/1900272 "2024-07-12T08:01:36Z")

</div>

Hi there, are there any proven and scalable ways to manage different builds (e.g. for distributors STEAM, GOG, EGS)? In Unity we had a small editor script which added and removed Scripting Defines which we could use in…

---

## [Best practice for handling logic dependent on animation?](https://forums.unrealengine.com/t/best-practice-for-handling-logic-dependent-on-animation/1647431)

<div class="topic-metadata">

**Author:** [@zantezuke](https://forums.unrealengine.com/u/zantezuke)\
**Replies:** 1\
**Last updated:** [January 27, 2024, 11:14pm UTC](https://forums.unrealengine.com/t/best-practice-for-handling-logic-dependent-on-animation/1647431 "2024-01-27T23:14:16Z")

</div>

Imagine I am making a zombie character like in Resident Evil. For instance: They should move towards the player and grapple onto them when close enough. When the player shoot the zombie’s leg, they should fall down…

---

## [Custom Character Pawn with Physics Best Practice Questions](https://forums.unrealengine.com/t/custom-character-pawn-with-physics-best-practice-questions/1598563)

<div class="topic-metadata">

**Author:** [@millerwjr](https://forums.unrealengine.com/u/millerwjr)\
**Replies:** 1\
**Last updated:** [January 12, 2024, 1:04am UTC](https://forums.unrealengine.com/t/custom-character-pawn-with-physics-best-practice-questions/1598563 "2024-01-12T01:04:17Z")

</div>

Greetings! I’m relatively new to Unreal and am trying to create a custom pawn class for a 2D action platformer that hovers (with physics). I’m nearly there, but I have a few questions about best practice: I wanted cer…

---

## [Photogrammetry recommendations for simulations creators](https://forums.unrealengine.com/t/photogrammetry-recommendations-for-simulations-creators/1387350)

<div class="topic-metadata">

**Author:** [@SL78MTL](https://forums.unrealengine.com/u/SL78MTL)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/photogrammetry-recommendations-for-simulations-creators/1387350 "2023-11-13T16:11:41Z")

</div>

We are frequently asked to identify resources, guidelines and starting points when it comes to leveraging Reality Capture to create rich environments based on the real world by Unreal Engine simulation creators. While t…

---

## [Blueprint interface VS ActorComponent, The Good And The Bad](https://forums.unrealengine.com/t/blueprint-interface-vs-actorcomponent-the-good-and-the-bad/506136)

<div class="topic-metadata">

**Author:** [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Replies:** 33\
**Last updated:** [July 19, 2023, 1:27am UTC](https://forums.unrealengine.com/t/blueprint-interface-vs-actorcomponent-the-good-and-the-bad/506136 "2023-07-19T01:27:57Z")

</div>

Long question short, are blueprint interfaces still relevant when we can extend Actor logic through ActorComponents? Some time ago I started programming a system which lets Actors interact with the environment, so they …

---

## [Best way to determine chance?](https://forums.unrealengine.com/t/best-way-to-determine-chance/312988)

<div class="topic-metadata">

**Author:** [@VigeoJames](https://forums.unrealengine.com/u/VigeoJames)\
**Replies:** 16\
**Last updated:** [July 9, 2023, 12:16pm UTC](https://forums.unrealengine.com/t/best-way-to-determine-chance/312988 "2023-07-09T12:16:52Z")

</div>

I have been using a method of determining chance that basically has an integer that is random and then if that number is higher than the target integer, do something. I want to know if there is a better way of determini…

---

## [Best way to do OnComponentBeginOverlap and OnComponentEndOverlap?](https://forums.unrealengine.com/t/best-way-to-do-oncomponentbeginoverlap-and-oncomponentendoverlap/1201897)

<div class="topic-metadata">

**Author:** [@ShadowSprite123](https://forums.unrealengine.com/u/ShadowSprite123)\
**Replies:** 4\
**Last updated:** [June 17, 2023, 10:14am UTC](https://forums.unrealengine.com/t/best-way-to-do-oncomponentbeginoverlap-and-oncomponentendoverlap/1201897 "2023-06-17T10:14:09Z")

</div>

Currently I’m using: void AMainCharacterTesting::OnComponentBeginOverlap(AActor\* OtherActor /\*Rest removed cause hard to read\*/) { if (ATargetDummy\* TargetDummyCheck = Cast\<ATargetDummy\>(OtherActor)) { if (TargetDum…

---

## [Clarification about IsValid() and nullptr safety](https://forums.unrealengine.com/t/clarification-about-isvalid-and-nullptr-safety/761027)

<div class="topic-metadata">

**Author:** [@ZackAkai](https://forums.unrealengine.com/u/ZackAkai)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 9:47am UTC](https://forums.unrealengine.com/t/clarification-about-isvalid-and-nullptr-safety/761027 "2023-02-01T09:47:11Z")

</div>

I was hoping to get a little clarification about best practices regarding safety checks for nullptrs. This is a function which returns the current game session: if(IsValid(GetWorld()) && (IsValid(GetWorld()-\>GetAuthGam…

---

## [Why am I having such a hard time finding the best practices for game console developement? And what ARE the best practices?](https://forums.unrealengine.com/t/why-am-i-having-such-a-hard-time-finding-the-best-practices-for-game-console-developement-and-what-are-the-best-practices/677447)

<div class="topic-metadata">

**Author:** [@McPhearson](https://forums.unrealengine.com/u/McPhearson)\
**Replies:** 2\
**Last updated:** [October 27, 2022, 8:38pm UTC](https://forums.unrealengine.com/t/why-am-i-having-such-a-hard-time-finding-the-best-practices-for-game-console-developement-and-what-are-the-best-practices/677447 "2022-10-27T20:38:46Z")

</div>

I thought I had read someone mention on a forum a year or so ago that data-tables would not work for certain console games. Maybe I remember this wrong so I tried to look and cannot seem to find anything on what restrict…

---

## [Best Practice for Adding Features?](https://forums.unrealengine.com/t/best-practice-for-adding-features/484924)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c8e22d981](https://forums.unrealengine.com/u/anonymous_user_c8e22d981)\
**Replies:** 1\
**Last updated:** [June 15, 2021, 8:11am UTC](https://forums.unrealengine.com/t/best-practice-for-adding-features/484924 "2021-06-15T08:11:15Z")

</div>

Hi I want to add functionality to my game that is not always required. A few relatable examples in real-world games are: • The Wall Tool in The Sims Franchise (Which is only available when you’re in build mode and clic…

---

## [Reducing Dependencies coming from DataTables](https://forums.unrealengine.com/t/reducing-dependencies-coming-from-datatables/474582)

<div class="topic-metadata">

**Author:** [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Replies:** 1\
**Last updated:** [April 20, 2021, 10:28pm UTC](https://forums.unrealengine.com/t/reducing-dependencies-coming-from-datatables/474582 "2021-04-20T22:28:15Z")

</div>

Hi there! I designed my crafting system setup so that it is based on a data table that references what is crafted and also what materials it needs etc. So this table basically depends on almost all items in the game. M…

---

## [How to verify offline progress?](https://forums.unrealengine.com/t/how-to-verify-offline-progress/479425)

<div class="topic-metadata">

**Author:** [@billakosama](https://forums.unrealengine.com/u/billakosama)\
**Replies:** 0\
**Last updated:** [February 25, 2021, 5:39pm UTC](https://forums.unrealengine.com/t/how-to-verify-offline-progress/479425 "2021-02-25T17:39:11Z")

</div>

As the title says I want the player to able to play offline. I want to verify that progress online though, since its a free to play mobile game with in app purchases. My idea was to store some kind of “actions history” …

---

## [What is best practice with material instances](https://forums.unrealengine.com/t/what-is-best-practice-with-material-instances/377081)

<div class="topic-metadata">

**Author:** [@Daedrox](https://forums.unrealengine.com/u/Daedrox)\
**Replies:** 1\
**Last updated:** [November 23, 2016, 3:59am UTC](https://forums.unrealengine.com/t/what-is-best-practice-with-material-instances/377081 "2016-11-23T03:59:15Z")

</div>

I hope some one with insight concerning rendering and materials would help me with this dilemma. Scenario: I have parking lot with filled with 1000 cars. There is jut one car mesh and material. For variation material ha…

---

## [Initialize static variables](https://forums.unrealengine.com/t/initialize-static-variables/466070)

<div class="topic-metadata">

**Author:** [@Bionic\_Ape](https://forums.unrealengine.com/u/Bionic_Ape)\
**Replies:** 4\
**Last updated:** [June 3, 2020, 10:02pm UTC](https://forums.unrealengine.com/t/initialize-static-variables/466070 "2020-06-03T22:02:49Z")

</div>

Hi all, How can I have static blocks of code that will be executed only once? I know how to initialize variables like this: //HEADER static const FName ActionName\_Collect; //CPP const FName UMyClass::ActionName\_Collec…

---

## [Single Player/Multiplayer Best Practice](https://forums.unrealengine.com/t/single-player-multiplayer-best-practice/452548)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f44ac2521](https://forums.unrealengine.com/u/anonymous_user_f44ac2521)\
**Replies:** 0\
**Last updated:** [July 20, 2019, 1:41pm UTC](https://forums.unrealengine.com/t/single-player-multiplayer-best-practice/452548 "2019-07-20T13:41:13Z")

</div>

Hello. I’ve got a quick question regarding best practices. My intent for my next game is to develop a game that can be played either Single Player by yourself, or multiplayer with a dedicated server to persist a world, w…

---

## [Load Level vs Streaming Level](https://forums.unrealengine.com/t/load-level-vs-streaming-level/346527)

<div class="topic-metadata">

**Author:** [@bootstrotter](https://forums.unrealengine.com/u/bootstrotter)\
**Replies:** 7\
**Last updated:** [March 25, 2019, 4:47pm UTC](https://forums.unrealengine.com/t/load-level-vs-streaming-level/346527 "2019-03-25T16:47:59Z")

</div>

I’ve seen a lot of posts and videos about streaming levels, as in large open world settings. But this doesn’t fit into my kind of game. I guess my play style is a bit “old school” in the fact that there are very differen…

---

## [all projects darker after UE4 Virtual Reality Best Practices tipps](https://forums.unrealengine.com/t/all-projects-darker-after-ue4-virtual-reality-best-practices-tipps/442692)

<div class="topic-metadata">

**Author:** [@Ventichrigu](https://forums.unrealengine.com/u/Ventichrigu)\
**Replies:** 2\
**Last updated:** [March 4, 2019, 12:14pm UTC](https://forums.unrealengine.com/t/all-projects-darker-after-ue4-virtual-reality-best-practices-tipps/442692 "2019-03-04T12:14:48Z")

</div>

Hi everyone I tried to improve my VR-Projects by adding the Virtual Reality Best Practices tipps. I added this settings VR .INI Settings The following .INI settings were taken from the UE4 powered, VR demo, Showdown.…

---

## [Tiled Landscape and Actor Placement](https://forums.unrealengine.com/t/tiled-landscape-and-actor-placement/443100)

<div class="topic-metadata">

**Author:** [@Gampersnaz](https://forums.unrealengine.com/u/Gampersnaz)\
**Replies:** 0\
**Last updated:** [February 10, 2019, 11:31am UTC](https://forums.unrealengine.com/t/tiled-landscape-and-actor-placement/443100 "2019-02-10T11:31:50Z")

</div>

I am using a tiled world with world composition. I would like to know the best practices in mesh and actor placement. For example, If I make village, Would I need to make sure everything is placed in the persistent level…

---

## [Changing behavior of ingame character](https://forums.unrealengine.com/t/changing-behavior-of-ingame-character/442175)

<div class="topic-metadata">

**Author:** [@mistercokes](https://forums.unrealengine.com/u/mistercokes)\
**Replies:** 0\
**Last updated:** [January 27, 2019, 4:57pm UTC](https://forums.unrealengine.com/t/changing-behavior-of-ingame-character/442175 "2019-01-27T16:57:24Z")

</div>

I am currently building a strategy game in which a single person shall be able to change its job during the game. The difficulity with this is that I will have about 20 jobs, which will of course all need to interact wi…

---

## [Setup a top-down scroller with distant camera](https://forums.unrealengine.com/t/setup-a-top-down-scroller-with-distant-camera/434845)

<div class="topic-metadata">

**Author:** [@Bitwaker](https://forums.unrealengine.com/u/Bitwaker)\
**Replies:** 2\
**Last updated:** [October 1, 2018, 10:22pm UTC](https://forums.unrealengine.com/t/setup-a-top-down-scroller-with-distant-camera/434845 "2018-10-01T22:22:06Z")

</div>

Hello in my game I need to set a top-down camera at a quite distant position from the player. I see that by default the camera is performing a lot of optimizations based on distance. In my case this is a problem since by…

---

## [Why not put code for world projected mouse cursor in player controller?](https://forums.unrealengine.com/t/why-not-put-code-for-world-projected-mouse-cursor-in-player-controller/425837)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5e132e2c](https://forums.unrealengine.com/u/anonymous_user_5e132e2c)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 6:43am UTC](https://forums.unrealengine.com/t/why-not-put-code-for-world-projected-mouse-cursor-in-player-controller/425837 "2018-05-24T06:43:40Z")

</div>

A new project created from the top down template for mobile includes some boilerplate code for some of the basic set up of a character. But in this template, the green decal that shows the mouse cursor location in the wo…

---

## [How to architect game wide variable access](https://forums.unrealengine.com/t/how-to-architect-game-wide-variable-access/422640)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ee5f06851](https://forums.unrealengine.com/u/anonymous_user_ee5f06851)\
**Replies:** 5\
**Last updated:** [April 14, 2018, 7:15pm UTC](https://forums.unrealengine.com/t/how-to-architect-game-wide-variable-access/422640 "2018-04-14T19:15:20Z")

</div>

I am creating a game which has elements that react to sound. I would like to have a central “engine” which does the sound-analysis, which I can then use in different actors to make them sound-reactive. What is the best…

---

## [UE4 Interfaces & Blueprint Function Library Combo](https://forums.unrealengine.com/t/ue4-interfaces-blueprint-function-library-combo/421760)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e2ade227](https://forums.unrealengine.com/u/anonymous_user_e2ade227)\
**Replies:** 4\
**Last updated:** [April 13, 2018, 9:07pm UTC](https://forums.unrealengine.com/t/ue4-interfaces-blueprint-function-library-combo/421760 "2018-04-13T21:07:59Z")

</div>

I want my AI to have a contract(interface) that defines all the required functions I need to implement a “special mechanic” in the game. However, the implementation is in a blueprint function library. “Interface\_Initial…

---

## [UI Best practices, MVVM/MVC?](https://forums.unrealengine.com/t/ui-best-practices-mvvm-mvc/420801)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e2ade227](https://forums.unrealengine.com/u/anonymous_user_e2ade227)\
**Replies:** 1\
**Last updated:** [March 26, 2018, 12:39am UTC](https://forums.unrealengine.com/t/ui-best-practices-mvvm-mvc/420801 "2018-03-26T00:39:08Z")

</div>

Hello, I was wondering if there is any best practices for UI in games using UE4. I do feel that MVC/MVVM maybe redundant using an game engine, however I do see some people follow the view models approach, I would like t…

[Next page](https://forums.unrealengine.com/tag/best-practice/3067.md?match_all_tags=true&page=1&tags%5B%5D=best-practice)
