After packaging the game at least one BP class, my pawn, loses all initial values. It’s a data-only class and it keeps it’s default values in pie and standalone so works correctly. In the packaged release however the variables hold values inherited from the parent class (confirmed by log prints).
Due to the nature of the issue I don’t know exactly which classes beside pawn are affected.
Binary 4.7.4-2497108. The project is mostly BP with one C++ class.
I migrated the pawn class to an empty project. (Of course that also carried over two dozen other BP class dependencies.) Sadly the issue is present there too. There is one thing clearly different between the original and the new project: the original one crashes when I hit “Launch”. Here is the crash log: http://zspline/temp/LaunchCrashLog.txt EDIT: Launch in the empty/migrated project shows the problem just like in the packaged versions. The build configuration doesn’t seem to matter.
I also compiled the single C++ class for every configuration from Debug Game to Shipping.
I tried to make a simple pawn hierarchy in an empty project but of course that works. My actual pawn and the related classes are way too complex for screenshots. I guess I’ll start deleting stuff in the migrated project and see if things change.
I was unclear before, when I asked if you could reproduce this in a clean project I meant without using any assets from the project that is having the issue.
I was able to reproduce this issue with the project that was sent. I have written up a report (UE-13579) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.