Unreal keeps disconnection my Pins also i cant package the game

Hi.
Everytime i restart the editor some of the “Inventory BP” pins are disconnected. My Inventory is using Struct for the Item Infromation.

73328-c344e9a026b7eb16af883c66e387be64.png

This is the Startup log from the editor output console: http://pastebin.com/npfQNvRP

Seccond:

Everytime i try to package my game for Windows it fails.
This is the Package output log from the outputconsole of the editor : http://pastebin.com/iW2xLjci

I have the feeling that UE4 HATES Struct’s.

Hi Gunschlinger,

  • Where are you populating the struct?
  • What specific pins are disconnecting?
  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • What steps can I take to reproduce this on my end?

Where are you populating the struct?

I have a Item Database in my content folder.
I assign the values in the structe there, The Structure itself is in the content folder.

What specific pins are disconnecting?

The ones i show in the screenshot. The Inventory BP has allot of references to a Item Structure. Aswell as some various other BP like the Player etc.

Does this occur in a clean, blank project with no additional content or is it limited to one project?

I tried migrating all of my content to a new project it did not help.

What steps can I take to reproduce this on my end?

-Make a new FPS project.
-Create a Structure with some various item desc like name,tooltip,mesh etc
-Create a item database using the item structure
-Do something with the structre in a blueprint like the player. Make sure to break the structure in the bluepint.
-Then add or move something in the structure.

I hope you can reproduce the issue. My theory is that it broke after i added/removed somethings in the Item Structure and thats why i cant build.

  • What specifically did you remove?

  • Was it the variables that are disconnecting?

  • If you remove the variables that are disconnecting and creating new copies of the variables, do you see the same error?

What specifically did you remove?

I changed around some things in the Item Struct. Like adding strings and stuff(Because i was developing the items).

Was it the variables that are disconnecting?

No. The Pin that is disconnecting is a reference to my Inventory BP. I later removed every last bit of the Itemstruct from the inventory. And then the pins did no longer disconnect. So it MUST be a error with Structures.

If you remove the variables that are disconnecting and creating new copies of the variables, do you see the same error?

No change

i am not sure. Could be. Structs are defnitly causing problems in ue4. I fixed the problem now. I removed every struct and made 1 BP node that returns every thing in the struct

Did you compile the blueprints calling the struct after making changes but before saving/closing the editor?

Hi Gunschlinger,

I am happy to hear you’re no longer experiencing an error. Unfortunately, I haven’t been able to reproduce this on my end. For now, I will mark this as answered for tracking purposes. If this error comes back up or if you find a set of repro steps that reproduce the error, please feel free to comment here and I’ll take another look.