編碼環(huán)境修改
為了編碼效率而為之,依照官網(wǎng)說(shuō)明,修改了:
解決方案配置選項(xiàng)窗口寬度
顯示平臺(tái)選項(xiàng)
關(guān)閉錯(cuò)誤窗口
官網(wǎng)修改說(shuō)明:https://docs.unrealengine.com/latest/INT/Programming/QuickStart/1/index.html
BP節(jié)點(diǎn)接口顏色說(shuō)明
一切類型都有對(duì)應(yīng)的接口!通過(guò)不同顏色的小圓圈表示對(duì)象。具體見(jiàn)官網(wǎng)文檔:
Unreal Engine 4 Variables
控制臺(tái)命令行
Command-Line Arguments
顯示FPS: stat fps
編輯器
WASD導(dǎo)航:Editor Preferences --> Level Editor --> viewport --> Controls
關(guān)閉編輯器操作音:Editor Preferences --> Level Editor --> Miscellaneous --> Enable...
永久修改:
D:\Program Files\Epic Games\4.5\Engine\Config\BaseEditorUserSettings.ini
4.9后變更:
D:\Program Files\Epic Games\4.9\Engine\Config\BaseEditorPerProjectUserSettings.ini
FlightCameraControlType=WASD_Always
bEnableEditorSounds=False
BP顯示箭頭:Eitor preference --> Blueprint Editor ---> Draw arrow...
Unreal Tournament 玩記錄
哪里下客戶端,如何進(jìn)服務(wù)器,哪里找碼
官網(wǎng)的討論,這里可以找到別人編譯好的最近的包
猿哥們的服務(wù)器和登錄器
Profile
https://docs.unrealengine.com/latest/INT/Engine/Performance/Profiler/index.html
安裝相關(guān)
一大坨緩存,將Launcher和所有版本都卸載后,仍不會(huì)自動(dòng)刪除,截止目前4.6有5GB左右.升級(jí)后不需要的版本緩存要從這里手動(dòng)刪除掉.SSD仍然很慢,是否因?yàn)閺腃盤(pán)加載了緩存數(shù)據(jù)呢?
C:\Users\Administrator\AppData\Local\UnrealEngine
編譯模塊日志
C:\Users\Administrator\AppData\Roaming\Unreal Engine\UnrealBuildTool
C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool
打包錯(cuò)誤出錯(cuò),看這里:C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+4.7\Cook.txt
Launcher相關(guān)
Launcher官方權(quán)威問(wèn)題解決WIKI:
Troubleshooting Launcher Problems
Launch卸載后,會(huì)刪除Launch和所有已經(jīng)安裝的引擎版本
配置引擎版本信息
C:\ProgramData\Epic\UnrealEngineLauncher
Launcher運(yùn)行日志
C:\Users\Administrator\AppData\Local\UnrealEngineLauncher
各種診斷
Windows Launcher issues
• D:\Users\USER.NAME\AppData\Local\UnrealEngineLauncher\Saved\Logs
Mac Launcher issues
• /Users/USER.NAME/Library/Logs/Unreal Engine/UnrealEngineLauncher
Editor crash
• D:\Users\UserName\AppData\Local\Microsoft\Windows\WER\ReportQueue
MSI (Windows only) installation issues
Place the msi on the root of C drive
WindowsKey+R and enter:
msiexec /i D:\UnrealEngineInstaller.msi /L*V C:\UnrealEngineInstallerLog.txt
Replacing “UnrealEngineInstaller.msi” with the actual msi filename
UE4/Content download problems
Navigate to the DefaultEngine.ini file
D:\Program Files\Unreal Engine\Launcher\Engine\Programs\NoRedist\UnrealEngineLauncher\Config\DefaultEngine.ini
Open in a text file and add to the very end of it:
[Core.Log]
LogHttp=log
LogOnline=veryverbose
優(yōu)化編譯速度
Boost Compile Times
cd UnrealEngine\Engine
mklink /J Intermediate C:\UE4\PR\Intermediate
mklink /J Source C:\UE4\PR\Source
<占位項(xiàng)2>
優(yōu)化VC內(nèi)存占用
Visual Studio 2013 : vcpkgsrv.exe 這是個(gè)神馬啊,突然就飆出來(lái)一大堆,沒(méi)個(gè)都耗掉幾百M(fèi)B內(nèi)存
"Tools->Options->Text Editor->C/C++->Advanced-->Auto Tune Max Cached Translation Units" 設(shè)為false
同上"Max Cached Translation Units"設(shè)為2
聽(tīng)說(shuō)將插件刪光了,也能降低這個(gè)東西的耗費(fèi),不現(xiàn)實(shí)
優(yōu)化磁盤(pán)速度和占用
AppData目錄("C:\Users\Administrator\AppData\Local\UnrealEngine")會(huì)占用大量磁盤(pán),并且在運(yùn)行時(shí)生成大量臨時(shí)文件(DerivedDataCache).重定向到SSD:
cd C:\Users\Administrator\AppData\Local
mklink /J UnrealEngine I:\Link_AppData_Local\UnrealEngine
<占位項(xiàng)1>
Input導(dǎo)入導(dǎo)出造成Joystick無(wú)法恢復(fù)的異常
從另外一個(gè)工程里導(dǎo)入input到當(dāng)前工程,Joystick就不再顯示了,試了半天無(wú)法恢復(fù)。下次還是別用了,老老實(shí)實(shí)一個(gè)個(gè)添加吧。
另外如果如果Set Cinematic Mode,也會(huì)隱藏Joystick
Android崩潰查詢
運(yùn)行:C:\NVPACK\android-sdk-windows\tools\monitor.bat
Logcat增加一個(gè)Filter。名字填"UE4"。 By log Tag填"UE4|Debug"。
Unreal engine 4.10/4.11 創(chuàng)建 Behavior Tree
從4.10開(kāi)始,Behavior Tree移動(dòng)到“Artificial Intelligence”菜單上了,并且這個(gè)菜單默認(rèn)情況在Add New主菜單里是隱藏起來(lái)的,需要滾動(dòng)到菜單的最下面,這點(diǎn)很坑!
點(diǎn)擊Add New后向下滾動(dòng)菜單,Artificial Interlligence才會(huì)滾出來(lái)

修改記錄
2014-05-02 創(chuàng)建
2014.7.13 增加BP中節(jié)點(diǎn)接口顏色的官方說(shuō)明
2014.9.6 編輯器的聲音和導(dǎo)航鍵
<占位項(xiàng)2>
升級(jí)到VS2015 Update3后源碼編譯問(wèn)題
command line argument number does not match precompiled header
Build Failed with VS 2015 update 3。解決方式
下載Fixed程序然后運(yùn)行即可。Current Available Quick-Fix Solutions
本質(zhì)還是對(duì)VS2015編譯警告進(jìn)行屏蔽處理:
https://issues.unrealengine.com/issue/UE-32588
引用補(bǔ)丁到源碼即可:
VS2015 Update 3 fix for UE4.11
Error:Unsupported major.minor version 52.0
原因:AndroidWorks升級(jí)后,使用了java1.8,但是環(huán)境變量設(shè)置的是1.7
Fix:
下載java1.8:
http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-windows-x64.exe?AuthParam=1479955184_3d52302468e8ee9463944fcb7c4eae08
setx JAVA_HOME=C:\Program Files\Java\jdk1.8.0_112
編譯單個(gè)文件
4.13開(kāi)始支持編譯單個(gè)文件
-安裝UnrealVS
I:\ProgramFiles_EpicGames\4.14\Engine\Extras\UnrealVS\VS2015\ UnrealVS.vsix
-綁定快捷鍵
New: The UnrealVS Visual Studio extension now exposes the "UnrealVS.CompileSingleFile" command. Binding to a shortcut key (eg. Ctrl-F7) from the Visual Studio options dialog allows quickly compiling the current file without linking binaries.
Error:
C:\Program' is not recognized as an internal or external command, operable program or batch file.
<占位標(biāo)題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項(xiàng)1>
<占位項(xiàng)2>
<占位標(biāo)題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項(xiàng)1>
<占位項(xiàng)2>
<占位標(biāo)題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項(xiàng)1>
<占位項(xiàng)2>
<占位標(biāo)題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項(xiàng)1>
<占位項(xiàng)2>
<占位標(biāo)題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項(xiàng)1>
<占位項(xiàng)2>