Packaging error: Non-editor build cannot depend on non-redistributable modules
This is a question that I know has come up before. I've looked at some existing answers:
I've attempted to implement the fixes they recommend, and I'm trying to package our project for windows 64-bit and still getting this error. My Build.cs looks like this:
As you can see I've already got an editor module where I'm keeping all my editor specific stuff. I've also tried just pushing any extra modules into the if(...bBuildEditor) just on the chance that any of them are editor specific.
I've combed through my code to see if there's anywhere in my normal game runtime where I'm including UnrealEd.h and there is one place. I'm surrounding it with #WITH_EDITOR pragmas, but I have no idea if these work for includes? (I have tried commenting this include and the code that uses it out, and I still can't package so it's not that anyway)
I'm out of ideas now as to where this issue might be coming from, does anyone have any suggestions?
I apologize for the delay, but after looking at your other issue, I don't believe that can be done due to how the generated classes are done. In my experience, the any packaging attempts fail as the generated.h has the editor-only variable but the packaging isn't taking it into account.
answered Feb 22 '17 at 07:59 PM
Matthew J ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here