No plugin content folders in 4.12.4

I downloaded the latest source from github (4.12.4) to update my marketplace plugins, but found an issue. When loading the map, all of the references to assets in my plugin’s content folder are broken. Furthermore, even when checking “show plugin content” I cannot see any content folders of plugins in the content browser, only their c++ classes. Did I do something wrong or miss something? Can anyone replicate this? This seems to be an engine bug.

Hey BlackRang666-

Does a newly created plugin appear in the project? When you select Show Plugin Content, do you see any of the source plugins appear (Paper2D, OculusLibrary, HTML5Networking, etc.)? Let me know if there is any additional information that would help me reproduce this on my machine.

Paper2D is the only plugin that shows a content folder, I missed that one when I was checking. The other plugins only show C++ Classes folders even though my plugin, Skeletronix, has content. I didn’t have this problem on previous versions. Is there anything specific to plugin content that I may not be aware of?

After adding a plugin with a Content folder to the Plugins folder of a new project I was able to see it in the editor with Show Plugin Content selected. Can you let me know if adding your plugin to a new project allows the Content folder to show up? Also, please try rebuilding 4.12 from the Release branch and let me know if that helps. If you still don’t see the plugin’s content folder, please provide the plugin that you’re using so that I can test it locally. This can be done privately by uploading the plugin to google drive/dropbox and then sending me a PM on the forums with a download link.

I can confirm the plugin folder does not show in the latest release branch, even in a new project.

Hey BlackRang666-

After adding the plugin to a 4.12.4 source project and attempting to open the project, I received an error message saying “Missing or incompatible modules in [PluginName] plugin - would you like to disable it? You will no longer be able to open any assets created using it.” Have you made changes to the engine code itself that your plugin is relying on? Also, when I compare the files in your plugin to the plugin files that did work for me, I noticed that there were “[PluginName]Editor” files in the Plugin/Binaries/Win64 and Plugin/Source folders that are not appearing in your plugin.

It is strange that you would get that error as I specifically downloaded the release branch last night and compiled the plugin on it. I have not made any engine changes. Can you attach images comparing the folder structures of my plugin and a working one?

EDIT: Oh my. It looks like at somepoint the uplugin file was regenerated and the CanContainContent flag was reset to false. Correcting this has fixed my problem.