A static_assert failed "Generic template assumes 4 bytes per element" issue.

I’ve been trying to upgrade a project from UE5 Early access to full release and I’ve been stuck trying to solve this static_assert issue. Its quiet obviously a difference in format but im just not quiet sure how to fix it.

Below are the Input and output params from the source engine(Project requires source build)

And these below are the spots where the FNDIInput and FNDIOutput params are used.

And this seems to be the problem section,

Additional info:
The static assert also only seems to be affecting input params , After I changed the output params from FNDIOutputParam to FNDIOutputParam it seemed to work, However nothing seems to work for the FNDI input params.