alexhajdu / WhatsMyPublicIP-ue4-plugin

In case you need to get your public IP - this can help. C++ and Blueprints
MIT License
29 stars 8 forks source link

Plugin nativization #6

Open mjaglarz opened 3 years ago

mjaglarz commented 3 years ago

Hi, Thank you very much for this plugin! It's working pretty good, but I have a problem while trying to nativize it. Is is possible at all? During packaging an error occurs:

[2021.06.21-22.59.54:618][316]UATHelper: Packaging (Windows (64-bit)): ..\Intermediate\Plugins\NativizedAssets\Windows\Game\Source\NativizedAssets\Private\NativizedAssets.h(9): fatal error C1083: cannot open include file: '../Plugins/WhatsMyPublicIP/Source/WhatsMyPublicIP/Public/WhatsMyPublicIP.h': No such file or directory

I tried to add the header path to DefaultEditor.ini (FilesToIncludeInModuleHeader - https://docs.unrealengine.com/4.26/en-US/ProgrammingAndScripting/Blueprints/TechnicalGuide/NativizingBlueprints/Advanced/ ), extract code from Public/Private directory as suggested in https://answers.unrealengine.com/questions/661962/nativize-missing-plugin-headers.html and set LoadingPhase to PreDefault and it didn't work.

alexhajdu commented 3 years ago

Hi, thanks for letting me know. Hmm, let me check this, I need to learn more about the process.