# \#include problems with UActorActionUtility

**URL:** <https://forums.unrealengine.com/t/include-problems-with-uactoractionutility/630188>\
**Category:** C++\
**Tags:** Blutilities, Editor-Utility, unreal-engine\
**Created:** [August 17, 2022, 11:37am UTC](https://forums.unrealengine.com/t/include-problems-with-uactoractionutility/630188 "2022-08-17T11:37:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RedundantLlama](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RedundantLlama](https://forums.unrealengine.com/u/RedundantLlama)\
**Post date:** [August 17, 2022, 11:37am UTC](https://forums.unrealengine.com/t/include-problems-with-uactoractionutility/630188/1 "2022-08-17T11:37:30Z")

</div>

I am working on a system that renders sequences with help of deadline in unreal 5.

for this i am creating with help of another developer a python user interface, to set up a preview in editor.

for this, i need to use a blueprint called “AddLevelToWorld” which i can access from the class ActorActionUtility.

In order to communicate the python code with the blueprint code, i need to write a c++ class that has a function that is a BlueprintCallable which then executes a BlueprintImplementableEvent to expose it to the blueprint.

this works with an actor class

sadly i can not access the “AddLevelToWorld” function inside an actor so i need to be in a ActorActionUtility.

So when i create a c++ class from a ActorActionUtility in the editor, it automatically generates this code

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/b/63b74a8e670bf3776e10bc6c9ff0c93180016d9a.png)

when i build it, i get a C1083 error that the ActorActionUtility.h can not be found

i also tried some other path combinations and includes which i dont remember

most notably was #include “Editor/Blutility/Classes/ActorActionUtility.h” which in turn gives me a C1083 but it can not find EditorUtilityObject.generated.h

When i delete the class again, it compiles just fine.

do you guys know what the error could be? my c++ and engine dependance knowledge is rather limited.

maybe there is a better way to access the “AddLevelToWorld” function from python, but i don’t know the way and it would be preferd to be in blueprint.
