【UE】BUILD ERROR: Missing precompiled manifest for ‘****‘.

编译报错完整信息:

Error: Missing precompiled manifest for ‘***’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in Launch.build.cs to override.

解决方式:

对应的plugin目录的 build.cs 文件中 在使用
PrecompileForTargets = PrecompileTargetsType.Any
的代码前加判断
示例:

		if (Target.Type == TargetRules.TargetType.Editor)
        {
    
    
			bUsePrecompiled = true;
			bPrecompile = false;
			PrecompileForTargets = PrecompileTargetsType.Any;
		}

猜你喜欢

转载自blog.csdn.net/a940659387/article/details/127691762
今日推荐