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

TargetName not used #2

Open
coodeneko opened this issue Nov 7, 2023 · 2 comments
Open

TargetName not used #2

coodeneko opened this issue Nov 7, 2023 · 2 comments
Assignees

Comments

@coodeneko
Copy link

Thanks for the plugin. I'm using it off and on for a the last little bit and it usually works great.
I've run into an issue where It looks like the TargetNames are not being used so I can't build.
I've got a project, let's call it's project file ProjectA.uproject and in it there are multiple modules, TargetA TargetAEditor TargetB...
When trying to run generate for TargetAEditor, it instead is attempting to use a target called ProjectAEditor. I've updated the UnrealNvim.json's TargetName to be TargetAEditor but that doesn't help.
Is there a step I'm missing that let's be use modules that don't use the project's filename?

@zadirion
Copy link
Owner

zadirion commented Nov 9, 2023

hmm interesting, thanks for bringing it to my attention. Indeed the plugin is making some assumptions that seem to break down when modules come into play. I'll take a look at this as soon as possible. If you could provide a small sample project that replicates the issue that would be much appreciated and would speed things along, otherwise I'll put one together myself when I have a bit of time.

I'm not sure yet what you can do to work around the issue unfortunately

@zadirion zadirion self-assigned this Nov 9, 2023
@coodeneko
Copy link
Author

Thanks checking.
I've created an empty project that gives the same results, just make sure to update your Engine folder.
No rush in getting it fixed, I've got a work around right now using the command line.
Great project BTW.
https://github.com/coodeneko/EmptyUnrealDemo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants