Hello,
I’m not sure if this is a bug or user error.
I got a question about community plugins. I would like to know what is the appropriate way to update plugins across UE4 versions. I tried updating the VictoryPlugin but came across an error when packaging, I believe it had to do with the static lib 32 file.
I attempted to update the plugin for the UE4 4.4 version here A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums and got an error when trying to package the updated plugin version.
So, I rolled back to the 4.3 plugin version I had working in UE4.3, added it to UE4.4 and now it builds fine.
==============================Here is the print out of it working
“MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: [18/20] lib.exe VictoryBPLibrary-Win32-Shipping-Static.lib
MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: [20/20] link.exe DroneZeroGravity-Win32-Shipping.exe
MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Creating library E:\Documents\Unreal Projects\DroneZeroGravity\Binaries\Win32\DroneZeroGravity-Win32-Shipping.lib and object E:\Documents\Unreal Projects\DroneZeroGravity\Binaries\Win32\DroneZeroGravity-Win32-Shipping.exp”
========================"And here it is not working with the updated plugin"
[2014.08.15-08.22.22:735][834]MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
[2014.08.15-08.22.22:735][834]MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: E:\Documents\Unreal Projects\DroneZeroGravity\Plugins\VictoryPlugin\Binaries\Win32\VictoryBPLibrary-Win32-Shipping-Static.lib
The most interesting part is, since I knew the static.lib file was there I actually watched it in the folder as I packaged the game for shipping and the file deleted itself during the process. Is this suppose to happen? I’m not sure if I am doing something wrong.
I wonder if that is why so many people where having trouble packaging the plugin before. Maybe some files where getting deleted while building? I guess we have to be very careful when updating our plugin files.
Again everything is working in 4.4 with packaging and shipping using the 4.3 plugin version, just not sure how to update the plugins for future updates without .lib files deleting on their own.
Thanks