ControlRig Engine errors

link text

UATHelper: Packaging (Windows (64-bit)): H:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Experimental\ControlRig\Source\ControlRig\Public\ControlRigAnimInstance.h(7): fatal error C1083: Cannot open include file: ‘AnimNodes/AnimNode_PoseSnapshot.h’: No such file or directory

Epic Games, please fix your ■■■■ before ever publishing new engine updates or upgrades. Can’t use Nativization because of this.

Did you solved this issue?

Welp, after searching through output log I changed C++ engine plugin as follows and it worked:

C:\Program Files\Epic Games\UE_5.0\Engine\Plugins\Animation\ControlRig\Source\ControlRig\Public\ControlRigAnimInstance.h

#pragma once

#include "Animation/AnimInstance.h"
#include "Animation/AnimInstanceProxy.h"
#include "AnimNodes/AnimNode_PoseSnapshot.h"
#include "ControlRigAnimInstance.generated.h"

to


#pragma once

#include "Animation/AnimInstance.h"
#include "Animation/AnimInstanceProxy.h"
#include "AnimGraphRuntime/Public/AnimNodes/AnimNode_PoseSnapshot.h"
#include "ControlRigAnimInstance.generated.h"

And inside C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\AnimGraphRuntime\Public\AnimNodes\AnimNode_PoseSnapshot.h change

#pragma once

#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Animation/AnimNodeBase.h"
#include "Animation/PoseSnapshot.h"
#include "AnimNode_PoseSnapshot.generated.h"

to

#pragma once

#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Animation/AnimNodeBase.h"
#include "Animation/PoseSnapshot.h"
#include "../../Intermediate/Build/Win64/UnrealEditor/Inc/AnimGraphRuntime/AnimNode_PoseSnapshot.generated.h"
1 Like

Had a same issue. Fixed by adding depency

		PublicDependencyModuleNames.AddRange(new string[] { 
                        ...
			"AnimGraphRuntime"
		});
2 Likes