x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Gameplay Abilities plugin Packaging error

So I have been using the GameplayAbilities plugin for a while now and i have a fair understanding of C++, however, i started my current project in blueprints. When i go to package the project, I get the following errors:

ExternalExecution.ExecuteHeaderToolIfNecessary: Running UnrealHeaderTool "C:\Users\Squidee\Documents\Unreal Projects\Ferrum_Final\Ferrum_Final.uproject" "C:\Users\Squidee\Documents\Unreal Projects\Ferrum_Final\Intermediate\Build\Win64\Ferrum_Final\Development\Ferrum_Final.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed ExternalExecution.PrintProcessOutputAsync: C:/Program Files/Epic Games/UE_4.21/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h(1): Error: Missing 'class' in Class declaration UEBuildTarget.Build: Error: UnrealHeaderTool failed for target 'Ferrum_Final' (platform: Win64, module info: C:\Users\Squidee\Documents\Unreal Projects\Ferrum_Final\Intermediate\Build\Win64\Ferrum_Final\Development\Ferrum_Final.uhtmanifest, exit code: OtherCompilationError (5)).

I have been trying to crack down on these errors for months now and I would appreciate any help i can get

here are the error files link text

Product Version: UE 4.21
Tags:
more ▼

asked May 16 '19 at 11:09 PM in Packaging & Deployment

avatar image

Squideeboy
1 1 1

avatar image Squideeboy May 16 '19 at 11:53 PM

for the sake of this question being able to still be answered, i'm commenting

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

It is telling you that there is a problem with the character.h file. Someone had a very similar problem here:-

https://answers.unrealengine.com/questions/775372/c-missing-in-class-declaration-specifier.html?sort=oldest

Turns out that a '-' had appeared in their file. Easy enough to do accidentally if you are poking around trying to learn something. I did try attaching a copy of my character.h for you but Unreal will not allow it even renamed to a txt file.

I don't want to go upsetting any copyright terms so I would suggest you download and install a fresh copy and see what is wrong/different about yours. Good luck.

more ▼

answered May 17 '19 at 12:16 AM

avatar image

Podgyhodgy
246 4 7 13

avatar image Squideeboy May 17 '19 at 12:20 AM

do you know of any way to reset the character.h to its defaults?

avatar image Podgyhodgy May 17 '19 at 07:59 AM

Look up how to download source files for Unreal engine from github. You will have to sign up to github. Once you are signed up, if you go to the download of the Unreal Engine sourcecode there is an option to 'Find file' - A button at the top of the page There you can search for character.h - the one you want is the top result (look at the path). Select this file and it will show you the text you want. Not sure if you can download a single file but what you can do is select the text and copy it. Then paste it in a text document and save it as character.h Fingers crossed. Podge

avatar image Squideeboy May 17 '19 at 10:53 AM

i will try that today when i get back from work

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question