If a UFUNCTION takes a pointer to a component as a parameter, the project cannot be built if the component's class is marked as deprecated. The error message that is provided states that the property should be marked as deprecated as well, but adding _DEPRECATED to the end of the parameter name, or marking the UFUNCTION as deprecated does not resolve the error message.
The build fails with the following error: LogCompile: Error: Property is using a deprecated class: /Script/TESTDeprecated2.MySceneComponent. Property should be marked deprecated as well.
The build completes successfully.
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-61906 in the post.