Download

Error packaging with EditorApplyRotation

Hello all!
I’m getting a packaging error that is dumping the following message:



UATHelper: Packaging (Windows (64-bit)):     C:\Users\jnoonan\Documents\Unreal Projects\parkModern\FlatLandscape 4.23\Source\FlatLandscape/Public/SeasonControlOperator.h(56): error C3668: 'ASeasonControlOperator::EditorApplyRotation': method with override specifier 'override' did not override any base class methods
UATHelper: Packaging (Windows (64-bit)):     C:\Users\jnoonan\Documents\Unreal Projects\parkModern\FlatLandscape 4.23\Source\FlatLandscape/Public/SeasonControlOperator.h(58): error C3668: 'ASeasonControlOperator::EditorApplyTranslation': method with override specifier 'override' did not override any base class methods
UATHelper: Packaging (Windows (64-bit)):     [8/12] SeasonControlOperator.cpp
UATHelper: Packaging (Windows (64-bit)):     C:\Users\jnoonan\Documents\Unreal Projects\parkModern\FlatLandscape 4.23\Source\FlatLandscape\Public\SeasonControlOperator.h(56): error C3668: 'ASeasonControlOperator::EditorApplyRotation': method with override specifier 'override' did not override any base class methods
UATHelper: Packaging (Windows (64-bit)):     C:\Users\jnoonan\Documents\Unreal Projects\parkModern\FlatLandscape 4.23\Source\FlatLandscape\Public\SeasonControlOperator.h(58): error C3668: 'ASeasonControlOperator::EditorApplyTranslation': method with override specifier 'override' did not override any base class methods
UATHelper: Packaging (Windows (64-bit)):     C:\Users\jnoonan\Documents\Unreal Projects\parkModern\FlatLandscape 4.23\Source\FlatLandscape\Private\SeasonControlOperator.cpp(103): error C2039: 'EditorApplyRotation': is not a member of 'AActor'
UATHelper: Packaging (Windows (64-bit)):     C:\Program Files\Epic Games\UE_4.23\Engine\Source\Runtime\Engine\Classes\Engine/LocalPlayer.h(28): note: see declaration of 'AActor'
UATHelper: Packaging (Windows (64-bit)):     C:\Users\jnoonan\Documents\Unreal Projects\parkModern\FlatLandscape 4.23\Source\FlatLandscape\Private\SeasonControlOperator.cpp(122): error C2039: 'EditorApplyTranslation': is not a member of 'AActor'
UATHelper: Packaging (Windows (64-bit)):     C:\Program Files\Epic Games\UE_4.23\Engine\Source\Runtime\Engine\Classes\Engine/LocalPlayer.h(28): note: see declaration of 'AActor'
...
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

I override the editor apply translation and rotation for visualization in editor which works fine. Is there something special you need to do to package with these functions?

Thank you!

For anyone else, I later found the solution here: Can't override PostEditChangeProperty in subclass of USceneComponent - C++ Gameplay Programming - Unreal Engine Forums