編碼環境修改
為了編碼效率而為之,依照官網說明,修改了:
解決方案配置選項窗口寬度
顯示平臺選項
關閉錯誤窗口
官網修改說明:https://docs.unrealengine.com/latest/INT/Programming/QuickStart/1/index.html
BP節點接口顏色說明
一切類型都有對應的接口!通過不同顏色的小圓圈表示對象。具體見官網文檔:
Unreal Engine 4 Variables
控制臺命令行
Command-Line Arguments
顯示FPS: stat fps
編輯器
WASD導航:Editor Preferences --> Level Editor --> viewport --> Controls
關閉編輯器操作音: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 玩記錄
哪里下客戶端,如何進服務器,哪里找碼
官網的討論,這里可以找到別人編譯好的最近的包
猿哥們的服務器和登錄器
Profile
https://docs.unrealengine.com/latest/INT/Engine/Performance/Profiler/index.html
安裝相關
一大坨緩存,將Launcher和所有版本都卸載后,仍不會自動刪除,截止目前4.6有5GB左右.升級后不需要的版本緩存要從這里手動刪除掉.SSD仍然很慢,是否因為從C盤加載了緩存數據呢?
C:\Users\Administrator\AppData\Local\UnrealEngine
編譯模塊日志
C:\Users\Administrator\AppData\Roaming\Unreal Engine\UnrealBuildTool
C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool
打包錯誤出錯,看這里:C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+4.7\Cook.txt
Launcher相關
Launcher官方權威問題解決WIKI:
Troubleshooting Launcher Problems
Launch卸載后,會刪除Launch和所有已經安裝的引擎版本
配置引擎版本信息
C:\ProgramData\Epic\UnrealEngineLauncher
Launcher運行日志
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
優化編譯速度
Boost Compile Times
cd UnrealEngine\Engine
mklink /J Intermediate C:\UE4\PR\Intermediate
mklink /J Source C:\UE4\PR\Source
<占位項2>
優化VC內存占用
Visual Studio 2013 : vcpkgsrv.exe 這是個神馬啊,突然就飆出來一大堆,沒個都耗掉幾百MB內存
"Tools->Options->Text Editor->C/C++->Advanced-->Auto Tune Max Cached Translation Units" 設為false
同上"Max Cached Translation Units"設為2
聽說將插件刪光了,也能降低這個東西的耗費,不現實
優化磁盤速度和占用
AppData目錄("C:\Users\Administrator\AppData\Local\UnrealEngine")會占用大量磁盤,并且在運行時生成大量臨時文件(DerivedDataCache).重定向到SSD:
cd C:\Users\Administrator\AppData\Local
mklink /J UnrealEngine I:\Link_AppData_Local\UnrealEngine
<占位項1>
Input導入導出造成Joystick無法恢復的異常
從另外一個工程里導入input到當前工程,Joystick就不再顯示了,試了半天無法恢復。下次還是別用了,老老實實一個個添加吧。
另外如果如果Set Cinematic Mode,也會隱藏Joystick
Android崩潰查詢
運行:C:\NVPACK\android-sdk-windows\tools\monitor.bat
Logcat增加一個Filter。名字填"UE4"。 By log Tag填"UE4|Debug"。
Unreal engine 4.10/4.11 創建 Behavior Tree
從4.10開始,Behavior Tree移動到“Artificial Intelligence”菜單上了,并且這個菜單默認情況在Add New主菜單里是隱藏起來的,需要滾動到菜單的最下面,這點很坑!
點擊Add New后向下滾動菜單,Artificial Interlligence才會滾出來

修改記錄
2014-05-02 創建
2014.7.13 增加BP中節點接口顏色的官方說明
2014.9.6 編輯器的聲音和導航鍵
<占位項2>
升級到VS2015 Update3后源碼編譯問題
command line argument number does not match precompiled header
Build Failed with VS 2015 update 3。解決方式
下載Fixed程序然后運行即可。Current Available Quick-Fix Solutions
本質還是對VS2015編譯警告進行屏蔽處理:
https://issues.unrealengine.com/issue/UE-32588
引用補丁到源碼即可:
VS2015 Update 3 fix for UE4.11
Error:Unsupported major.minor version 52.0
原因:AndroidWorks升級后,使用了java1.8,但是環境變量設置的是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
編譯單個文件
4.13開始支持編譯單個文件
-安裝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.
<占位標題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項1>
<占位項2>
<占位標題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項1>
<占位項2>
<占位標題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項1>
<占位項2>
<占位標題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項1>
<占位項2>
<占位標題>
<占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述占位描述>
<占位項1>
<占位項2>