关于新版本UE4的错误:UNavigationSystemV1::SimpleMoveToActor已经弃用

严重性	代码	说明	项目	文件	行	禁止显示状态
警告	C4996	'UNavigationSystemV1::SimpleMoveToActor': SimpleMoveToActor is deprecated. Use UAIBlueprintHelperLibrary::SimpleMoveToActor instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.	FPSGame	F:\unrealProjects\SimpleFPSTemplate-master\Source\FPSGame\Private\FPSAIGuard.cpp	115

将UNavigationSystemV1::SimpleMoveToActor换成UAIBlueprintHelperLibrary::SimpleMoveToActor即可

猜你喜欢

转载自blog.csdn.net/qq_14942529/article/details/120575620