Using legacy-style #include paths in a game project is allowed by UBT by default, but it's currently not compatible with Blueprint nativization, as it does not account for this possibility.
Current workaround: Add the following line to the constructor in Engine\Content\Editor\Templates\PluginModule.Build.cs.template:
bLegacyPublicIncludePaths = Target.bLegacyPublicIncludePaths;
Then repeat step #8.
#include "DateTime.h"
[1/3] Module.NativizedAssets.gen.cpp UATHelper: Packaging (Windows (64-bit)): D:\dev\local\Projects\CppTest\Source\CppTest/MyActor.h(6): fatal error C1083: Cannot open include file: 'DateTime.h': No such file or directory
N/A
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
UMG RichText not appear image when packaged
How do I set a material as a post-processing material?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-66378 in the post.