How to pass a struct into the vertex and fragment shaders?

Hi, I have a simple shader plugin test. I the vertex shader take in

291384-vs-one.png

I would like to have it take in my VertexInput struct, and return my VertexOutput struct.

291385-vs-two.png

The shader works in the top pic, but when I switch it to use the structs the editor will just crash on me.

Can you provide logs of crash from Saved/Logs in project directory, just reading at end might hints you whats going on