ALS-Community icon indicating copy to clipboard operation
ALS-Community copied to clipboard

Attempting to precompile plugin ends with errors

Open Bmay1286 opened this issue 2 years ago • 1 comments

I'm attempting to precompile the plugin for distribution to team members that are not running a code project. I'm using the provided RunUAT.bat in the engine distribution for 5.2.

To Reproduce Steps to reproduce the behavior:

  1. Download the latest revision of the ALS-Community depot
  2. Execute something like Engine Install Path\UE_5.2\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin -Plugin="Project Path\Plugins\ALS-Community-main\ALSV4_CPP.uplugin" -Package="<Wherever you want the precompiled package to go>" -Rocket -precompile -TargetPlatforms=Win64
  3. Observe that it fails to compile, starting with errors like Desination folder for host project\HostProject\Plugins\ALSV4_CPP\Source\ALSV4_CPP\Private\Character\Animation\Notify\ALSAnimNotifyCameraShake.cpp(14): error C2027: use of undefined type 'USkeletalMeshComponent'

Let me know if there is any more info I can provide to help with this. Thanks!

Bmay1286 avatar Aug 21 '23 01:08 Bmay1286

Hey there, I've added this feature in a pull request. You're also welcome to clone the repo containing this: https://github.com/VintageDeveloper/precompile-plugins-fix

VintageDeveloper avatar Nov 03 '23 01:11 VintageDeveloper

Should be fixed with upcoming release. Thanks for the contribution!

dyanikoglu avatar Jul 09 '24 10:07 dyanikoglu