After the 4.16.3 hotfix, I can still build my project with the plugin using VisualStudio, but the Package function in the Plugins window stopped working. The error given in Output Log is:
ERROR: Unable to instantiate instance of 'HLSLCC' object type from compiled assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Unreal Build Tool creates an instance of your module's 'Rules' object in order to find out about your module's requirements. The CLR exception details may provide more information: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> UnrealBuildTool.BuildException: ERROR: Attempt to build against HLSLCC on unsupported platform Android
UATHelper: Package Plugin Task (Windows): UnrealBuildTool: at HLSLCC..ctor(ReadOnlyTargetRules Target) in c:\Program Files\Epic Games\UE_4.16\Engine\Source\ThirdParty\hlslcc\HLSLCC.Build.cs:line 64
I’ve tried verifying the engine installation, but it didn’t solve the problem.
I haven’t changed the plugin’s code and it packaged ok in 4.16.2
It’s not some fatal problem as I can distribute the plugin’s code by copying the files built with VisualStudio, but it was nice to have the packaging function to do it for me, converting the .uplugin description to an installed one.
I’m not posting the plugin source files because I intend to sell it on the Marketplace.