UnrealEngine - 从源码编译UE5的步骤

  1. Install GitHub Desktop for Windows then fork and clone our repository.

    When GitHub Desktop is finished creating the fork, it asks, How are you planning to use this fork? . Select For my own purposes. This will help ensure that any changes you make stay local to your repository and avoid creating unintended pull requests. You'll still be able to make pull requests if you want to submit modifications that you make in your fork back to our repository.

    Other options:

    • To use Git from the command line, see the Setting up Git and Fork a Repo articles.

    • If you'd prefer not to use Git, you can get the source with the Download ZIP button on the right. Note that the zip utility built in to Windows marks the contents of .zip files downloaded from the Internet as unsafe to execute, so right-click the .zip file and select Properties... and Unblock before decompressing it.

  2. Install Visual Studio 2022.

    All desktop editions of Visual Studio 2022, 17.4 or later, 17.8 recommended, can build UE5, including Visual Studio Community, which is free for small teams and individual developers.

    To install the correct components for UE5 development, please see Setting Up Visual Studio.

  3. Open your source folder in Windows Explorer and run Setup.bat. This will download binary content for the engine, install prerequisites, and set up Unreal file associations.

    On Windows 8, a warning from SmartScreen may appear. Click More info , then Run anyway to continue.

    A clean download of the engine binaries is currently 18+ GiB, which may take some time to complete. Subsequent runs will be much faster, as they only download new and updated content.

  4. Run GenerateProjectFiles.bat to create project files for the engine. It should take less than a minute to complete.

  5. Load the project into Visual Studio by double-clicking the new UE5.sln file.

  6. Set your solution configuration to Development Editor and your solution platform to Win64 , then right click the UE5 target and select Build. It may take anywhere between 10 and 40 minutes to finish compiling, depending on your system specs.

  7. After compiling finishes, you can run the editor from Visual Studio by setting your startup project to UE5 and pressing F5 to start debugging.

相关推荐
易知微EasyV数据可视化1 天前
UE5中添加 PNG/TIF 到 Cesium 地球表面方案
经验分享·ue5·数字孪生
GR901 天前
UE5 SetActorLocation背后发生了什么
ue5
成都渲染101云渲染66663 天前
云渲染怎么用?从项目准备到提交出图,3ds Max、VRay、UE5 实用教程
3d·ue5
directx3d_beginner5 天前
42,将移向指定位置改为c++
ue5
ue星空8 天前
UE5放了playstart显示badsize解决方案
ue5
directx3d_beginner10 天前
41,从UE5.1迁移到UE5.8排坑全记录
ue5
落魄大学生之流水线上谋生计14 天前
BLACK TIDE · 黑潮
ue5
曼巴UE522 天前
UE5 客户端 需要的网络同步概念总结(3 )-事件同步 RPC 以及三种调用方式
网络·c++·网络协议·学习·rpc·ue5
归真仙人24 天前
【UE项目迁移银河麒麟(Linux)局域网会话搜索失败排查】
ue5·ue4·vr·unreal engine·银河麒麟
fanfan_hongyun1 个月前
UE5.1 应用InWebSocketClient-main 接收websocket信息
ue5