Several strange errors trying to compile toon tanks with UE 5

Ok find you ToonTanks.build.cs

add the GameplayCameras Module as i did.

PublicDependencyModuleNames.AddRange(new string { “GameplayCameras”, “Core”, “CoreUObject”, “Engine”, “InputCore” });

now you should be able to access the class from inside your module.
but you’re going to have a warning. to fix the warning open up your toontanks.uproject file inside a text editor. Within the pulguins section add.

"Name": "GameplayCameras",
"Enabled": true

should look like:

"Plugins": [
	{
		"Name": "GameplayCameras",
		"Enabled": true
	}
]
1 Like