Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample project does not compile in UE 5.2.1 #58

Open
allora opened this issue Aug 14, 2023 · 2 comments
Open

Sample project does not compile in UE 5.2.1 #58

allora opened this issue Aug 14, 2023 · 2 comments

Comments

@allora
Copy link

allora commented Aug 14, 2023

This reflects some experiences in experimenting with my own code. While trying to compile a struct derived from FMassStateTreeTaskBase You get the error below.

This happens in this MassSample and in Epic's City Demo, as well as in my own attempts to make a custom state tree task

Unreal 5.2.1 compile error with the sample project on this repo: state tree tasks fails with an error when trying to compile

0>[2/4] Link [x64] UnrealEditor-MassCommunitySample.lib cancelled
0>[3/4] WriteMetadata MassSampleProjectEditor.target cancelled
0>[4/4] Compile [x64] Module.MassCommunitySample.cpp
0>StateTreeNodeBase.h(14): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int
0>StateTreeNodeBase.h(29): Error C2061 : syntax error: identifier 'FStateTreeLinker'
0>MSNavMeshMoveTask.h(41): Error C3668 : 'FMassNavMeshPathFollowTask::Link': method with override specifier 'override' did not override any base class methods

Repro Steps:

  • I simply downloaded the project (git clone and git lfs pull, etc)
  • Tried to run, it said i needed to compile
  • Compile fails with this error.
@allora allora changed the title Sample project does not compile Sample project does not compile in UE 5.2.1 Aug 14, 2023
@allora
Copy link
Author

allora commented Aug 14, 2023

Just to follow up, trying this with UE 5.1.1 and the 5.1 tag on this repo seems to work fine.

@allora
Copy link
Author

allora commented Aug 16, 2023

Another follow up, my own code seems to work fine in 5.3, so likely there's some bug in 5.2. This can probably close as it seems to be a problem in UE that has since been resolved in a later version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant