【UE5】【实践-卡通渲染01】拉源码与模型资源踩坑记录 - tttangling的文章 - 知乎

zhuanlan.zhihu.com

  1. 官网注册权限
  2. Github拉取源文件(Zip,注意网络稳定,建议挂梯子)
  3. 安装库(文件夹搜索框输入CMD打开控制台,可以修改线程,注意千万不要输入“-exclude=VS2013”(被某加速下载教程坑了),否则后期报错又得重新编译)(非常慢,进度为0不要慌,关掉再打开,建议关闭睡眠挂一晚上)
    1. Setup.bat --threads=64
    2. GenerateProjectFiles.bat --threads=64

image.png

  1. 编译

    1. Automation报错:

      cs0006 未能找到元数据文件“d:\\ue5.3\\engine\\binaries\\dotnet\\automationtool\\automationscripts\\buildgraph\\ref\\buildgraph.automation.dll” win.automation 
      

      把项目依赖项含有Automation的全部勾上

      image.png

      https://github.com/EpicGames/UnrealEngine/pull/11110/files

      改源代码

      image.png

    2. AutoRTFMTests报错:

      错误	MSB3073	命令“..\\..\\Build\\BatchFiles\\Build.bat AutoRTFMTests Win64 Development -WaitMutex -FromMsBuild”已退出,代码为 6。	AutoRTFMTests
      

      Error compiling the Automation Tool after updating Visual Studio today (Unreal 5.3.2)

      删文件

      image.png

      改配置

      image.png

    3. 调试

    a.缺失游戏文件

    改成Development Editor重新编译

    image.png