Find in Knowledge Base
Version Control: Perforce (Helix Core)
While Git is great for code, Perforce (P4) is the undisputed king of Unreal development. As a Tech Lead, you must architect the P4 server correctly.
- The “Locking” Necessity:
- In Git, if two artists modify
Level_01.umapat the same time, you get a “Binary Merge Conflict.” The file is corrupted. Game over. - In Perforce, Artist A Checks Out the file. Artist B sees a “Locked” icon and cannot edit it until A submits. This saves projects from disaster.
- In Git, if two artists modify
- P4 Typemap (The Config):
- You must configure the
Typemapimmediately. It tells the server how to treat specific files (e.g.,.uassetshould bebinary+l-> Binary + Exclusive Lock).
- You must configure the
- Streams (Branching):
- Don’t just use “Main.” Set up P4 Streams:
Main(Stable, automated builds happen here).Dev(Where the team works daily).Release(Locked down for shipping).
- You (The Lead) control the flow:
Copy Up(Dev -> Main) andMerge Down(Main -> Dev).
- Don’t just use “Main.” Set up P4 Streams: