Packaging my game without the “nativize blueprint asset” option works fine. However, when I activate the nativize option, I get the following error:
[ProjectPath]/Intermediate/Plugins/NativizedScript/Source/NativizedScript/Public/BlockPlayController__pf.h(45) : Missing ')' in Delegate Declaration
Error: Failed to generate code for [Project] - error code: OtherCompilationError (5)
I have attached the BlockPlayController__pf.h file.
Maybe the nativize script does not like the additional space at the end before the ‘)’ ?
Sean_L
(Sean_L)
March 30, 2016, 1:04pm
2
Hello,
Have you tried removing the additional space and seeing if you get the same error?
Yes, but the file is generated and thereby overwritten by the packaging process. I deactivated the “Full Rebuild” option, but the file is overwritten regardless.
2sneaky
(2sneaky)
April 5, 2016, 9:13am
4
Am also having this same issue:
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:/UE4PROJ/TDTycoon411/TDTycoon411/Intermediate/Plugins/NativizedScript/Source/NativizedScript/Public/BP_PlayerPawn__pf.h(24) : Missing ')' in Delegate Declaration
Sean_L
(Sean_L)
April 5, 2016, 5:27pm
5
Have either of you been able to determine how to reproduce this in a clean project?
I’ve attempted to do so on my end, but haven’t been able to currently.
Sean_L
(Sean_L)
April 7, 2016, 12:51pm
6
Could you please provide the full project that this issue is occurring in by uploading it to Dropbox and providing me with a link? You can PM me the link on the forums: https://forums.unrealengine.com/member.php?160394-Sean-Flint
Sean_L
(Sean_L)
April 11, 2016, 1:12pm
7
Hello,
I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.
Have a great day
ArCorvus
(ArCorvus)
May 21, 2016, 5:33pm
8
Hi Sean,
I also experienced this issue. Here are steps to reproduce:
Make any blueprint. In my case it was Widget Blueprint.
Add delegate. Name of delegate should contain spaces.
Check that “nativize blueprint asset” is active
Build project for any platform
Generated C++ code has broken identifiers because identifiers contain spaces.
Sean_L
(Sean_L)
May 23, 2016, 2:13pm
9
Hello,
Thank you for the repro steps. I was able to reproduce this in 4.11; however, it looks to be resolved in 4.12.
Try this same process using 4.12. The packaging process completes successfully following those repro steps.
Have a great day