I was creating a user defined structure (defined via blueprint) inside another blueprint, through make structure node.
structure has two PlayerState variables and two String variables. While I can omit PlayerState during creation, omitting a String will make packaging of project fail.
Hi ,
I was able to package a development build for Windows (64 bit) with this setup in 4.9.0 without any issues, so I have a few questions for you:
- Are you able to reproduce this in a new project, or only your current project?
- What are you attempting to package for?
- Does this occur with any other user defined structs, or just that one?
Please find log file from project’s Saved\Logs folder after an unsuccessful package and attach it here so we can take a look. Thanks!
I can not recreate issue either on my current project nor a new project. Could it be related to an outdated / uncompiled blueprint? While I haven’t changed struct in a while, I checked it out on perforce and re-saved it, before running first successful build.
I’d bet that it’s something like that. Looking at log, error is pointing to CharMoveComp. Are you referencing struct in your character BP? If you make a new struct with same variables, and replace all references with it, does same problem occur? If not, that’s probably your best solution. Otherwise, there may be a deeper problem. Let me know when you get a chance to try that.
Yes, I’m using struct in my character blueprint. problem doesn’t occur anymore. It builds without issues now, that’s why I came to conclusion that only saving could’ve fixed it and it might’ve being not properly compiled.
Sounds good. Glad it’s not happening for you anymore! I’ll go ahead and resolve this post. Feel free to reopen it at any time if you experience this problem again. Thanks!