Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to precompile plugin ends with errors #460

Open
Bmay1286 opened this issue Aug 21, 2023 · 1 comment
Open

Attempting to precompile plugin ends with errors #460

Bmay1286 opened this issue Aug 21, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Bmay1286
Copy link

Bmay1286 commented Aug 21, 2023

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
Copy link

VintageDeveloper commented Nov 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants