ShadowfallStudios / ALS-Community

Replicated and optimized community version of Advanced Locomotion System V4 for Unreal Engine 5.4 with additional features & bug fixes
Other
2.25k stars 586 forks source link

Attempting to precompile plugin ends with errors #460

Closed Bmay1286 closed 4 months ago

Bmay1286 commented 1 year ago

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!

VintageDeveloper commented 1 year ago

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

dyanikoglu commented 4 months ago

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