UnrealEngine4 initial setup personal use and crash records

Log:

1.第一次记录:2020.2.05 版本:4.24.2

UnrealEngine initial setup

1. After downloading UnrealEngine4 in the Epic

1-1 First: Start - Options

Here Insert Picture Description

1-2 then checked :() enter debug symbol - Application

Here Insert Picture Description
New problems emerged after the collapse for easy viewing detailed reasons

2. UE4 related configuration files

2-1. Delete the C disk cache buffer address and modify UE4 asked the project address

Referring to the content of the article comes from CSDN blog: https://blog.csdn.net/cc13813194235/article/details/53424866
while valid to pro-test version UE4_4.24.2

1. First create a casual game project, choose your project directory

2. Create a complete closed UE4

找到UE4的项目缓存目录
C:\Users\用户名\AppData\Local\UnrealEngine\Common\DerivedDataCache
删除DerivedDataCache

3. Locate the installation directory UE4
Here Insert Picture Description
4. BaseEngine.ini found file UE_4.24 / Engine / Config in directly with Notepad

5. Edit - Find - Find input box [InstalledDerivedDataBackendGraph]
Here Insert Picture Description

6. [InstalledDerivedDataBackendGraph] below to modify the content

1 Local=(Type=FileSystem, ReadOnly=false,Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true,UnusedFileAge=34, FoldersToClean=-1, Path="%ENGINEVERSIONAGNOSTICUSERDIR%DerivedDataCache")

修改为:
1 Local=(Type=FileSystem, ReadOnly=false,Clean=false, Flush=false, PurgeTransient=true, DeleteUnused=true,UnusedFileAge=34, FoldersToClean=-1,Path="%GAMEDIR%DerivedDataCache")

Here Insert Picture Description
7. After the modifications made to verify the successful modification
1. In BaseEngine.ini file, enter the Find box [DerivedDataBackendGraph]
Here Insert Picture Description
2. FIG found in the selected text, that is successfully modified and changed cache path project to the project folder
Here Insert Picture Description

2-2. Delete the online program to build the cache SwarmAgent

Cache directory: C: \ Users \ username \ AppData \ Local \ UnrealEngine \ 4.24 \ Saved \ \ SwarmCache Swarm
delete SwarmCache

3. UE4 related settings

3-1. Setting the blueprint does not compile when UE4 start

参照内容来源于知乎文章:https://zhuanlan.zhihu.com/p/104097525

1.找到配置文件路径:C:\Users\用户名\AppData\Local\UnrealEngine\4.24\Saved\Config\Windows\Engine.ini

2.打开Engine.ini文件

3.文本内容中添加

[/Script/Engine.Blueprint]
bRecompileOnLoad=False

[/Script/Engine.LevelScriptBlueprint]
bRecompileOnLoad=False

[/Script/Engine.AnimBlueprint]
bRecompileOnLoad=False

4.保存,重启

3-2. 设置仅编译成功时保存

1.在随便打开一个蓝图,在编译的旁边有个倒三角,如图
Here Insert Picture Description

3-3. 显示编辑器实时信息

1.编辑-编辑器偏好设置-通用-性能-勾选显示帧率和实时信息
Here Insert Picture Description

崩溃日志

UE4崩溃日志(1)

参照内容来源于虚幻4官方文档:https://docs.unrealengine.com/zh-CN/GettingStarted/RecommendedSpecifications/index.html
里面有虚幻4的硬件配置要求,配套软件版本的需求,以及显卡驱动的需求

因显卡驱动程序原因导致崩溃
关键字:D3D11RHI、Rendering、Building
D3D11 为Direct3D11(渲染管线),RHI 为Render hardware interface 渲染硬件层接口,d3d11.dll 为动态链接库Dynamic Link Library

如图所示:
Here Insert Picture Description
解决方法:

1.首先进入 NVIDIA GeForce Experience
Here Insert Picture Description

2.检查更新文件(旁边的三个点)-选择首选项-Studio驱动程序-检查更新文件(如图)
Here Insert Picture Description
3.检查到更新文件后,下载最新的驱动,自定义安装,勾选恢复默认设置

4.重启电脑(最好重启一下)

UE4崩溃日志(2)

参考内容来源于知乎文章:https://zhuanlan.zhihu.com/p/45508890
该知乎作者写了很多UE4的Bug以及部分崩溃解决方案

Unreal 4 Official Document Content Reference: https://docs.unrealengine.com/zh-CN/Engine/Rendering/Nvidia/NVIDIAAftermath/index.html

Because NVIDIA Aftermath crash
关键字:Aftermath、D3D11Query.cpp] [Line: 111] 、GPU has crashed
Aftermath 是一个轻量化的实用工具,可减轻部分调试工具对性能历史记录的要求。实际上,它相当轻量化,甚至可以包含在发布的游戏中,提供开发者需要的用户电脑数据。程序员可利用 Aftermath 在代码中插入标记,帮助追踪崩溃发生的根源。

Solution:
1. Locate ConsoleVariables.ini, path: the installation disk: UE_4.24 \ Engine \ Config \ ConsoleVariables.ini
2. Found [the Startup]
3. Add the content in the text region
r.DX11NVAfterMathEnabled = 0
r.GPUCrashDebugging = 0
in FIG:
Here Insert Picture Description
4. save restart UE4

Released six original articles · won praise 40 · views 2837

Guess you like

Origin blog.csdn.net/weixin_44519692/article/details/104182432
Recommended