Compile Error with UE 5.6 preview

Hi all,

We’re in the process of upgrading to 5.6. We’re syncing directly from your P4 depot and are synced to 42554809. So far it’s going okay, but we’ve hit an error that I think might want to be resolved before the 5.6 preview build goes live.

The issue is in the EnhancedInput plugin in InputTriggers.h. It looks like you’ve made changes to add MinimalAPI to the trigger types and selectively expose methods, however, UInputTriggerTimedBase is missing the MinimalAPI keyword.

This causes a linker error in our integration as we have derived from this type. Since the class as a whole has not been exposed via UE_API, the ctor and dtor for UInputTriggerTimedBase is not exposed, so we get a linker error when linking our module which depends on EnhancedInput. I’ve managed to fix this by adding MinimalAPI as a keyword to the UCLASS(), similar to the other input triggers.

Cheers!

-Steven

This must have been a bug in the script updating the files. Thanks for reporting and sorry you ran into it.. there should be a MinimalAPI on that class.

I or someone ([mention removed]​ ?) will get this to 5.6 release.

Verified that there was a bug in the script and fixed that.. still need the fix to 5.6 obviously

I can take the 5.6 fix.