/images/avatar.png

「好記性,不如爛筆頭」

解決UE由4.15升級到16後產生專案檔時出現的警告訊息

當引擎升級到 4.16 之後,在將 .uproject 切換到新版本、或重新產生專案檔時會出現下列的警告訊息:

Warning

[PATH\TO\PROJECT\PROJECT_NAME]\Source\[PROJECT_NAME]\[PROJECT_NAME].Build.cs: warning: Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.