# Upgrade 5.1 to 5.2 AAIController MapCheck Warning unable to Remove UDEPRECATED\_PawnActionsComponent

**URL:** <https://forums.unrealengine.com/t/upgrade-5-1-to-5-2-aaicontroller-mapcheck-warning-unable-to-remove-udeprecated-pawnactionscomponent/1286630>\
**Category:** Programming & Scripting\
**Tags:** aicontroller, update, unreal-engine, Blueprint, question, CPP\
**Created:** [September 7, 2023, 7:56am UTC](https://forums.unrealengine.com/t/upgrade-5-1-to-5-2-aaicontroller-mapcheck-warning-unable-to-remove-udeprecated-pawnactionscomponent/1286630 "2023-09-07T07:56:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![somaweb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@somaweb](https://forums.unrealengine.com/u/somaweb)\
**Post date:** [September 7, 2023, 7:56am UTC](https://forums.unrealengine.com/t/upgrade-5-1-to-5-2-aaicontroller-mapcheck-warning-unable-to-remove-udeprecated-pawnactionscomponent/1286630/1 "2023-09-07T07:56:11Z")

</div>

Hi there, we just updated to 5.2.1 an have an Issue with the AAIController.

We do an automated MapCheck with all our Asstes in a Map and do get the following Warning:

```auto
LogBlueprint: Warning: [AssetLog] D:\UEProjects\chromaGun2\Content\ChromaGun\Core\LevelThemes\ChromaLabsTheme\Droid\AI\AIC_Enemy.uasset: [Compiler] Get ActionsComp : Usage of 'ActionsComp' has been deprecated. Please replace or remove it.

```

As it is beeing created here: [https://github.com/EpicGames/UnrealEngine/blob/5.3/Engine/Source/Runtime/AIModule/Private/AIController.cpp#L50](https://github.com/EpicGames/UnrealEngine/blob/5.3/Engine/Source/Runtime/AIModule/Private/AIController.cpp#L50)  
I am not really able to delete it.

How should we remove it like it’s suggested in the warning? Deleting it in the blueprint does not work as well? Think this is a bug

---

<div class="post-metadata">

**Author:** ![somaweb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@somaweb](https://forums.unrealengine.com/u/somaweb)\
**Post date:** [September 26, 2023, 3:18pm UTC](https://forums.unrealengine.com/t/upgrade-5-1-to-5-2-aaicontroller-mapcheck-warning-unable-to-remove-udeprecated-pawnactionscomponent/1286630/2 "2023-09-26T15:18:28Z")

</div>

No input?
