Importing CSV from Sublime (UTF-8) - Blueprint

Hello, I’m trying import a CSV in a Diallogue Struct but always returns an error;

DummyColumn,ID,SceneID,Speaker,Text,Choice1,Choice2,NextID1,NextID2
1,(1),“Scene1”,“TOM”,“Hey darling… How was your day?”,“good”,“bad”,(2),(3)
2,(2),“Scene2”,“TOM”,“…”,“none”,“none”,(-1),(-1)
3,(3),“Scene3”,“TOM”,“…”,“none”,“none”,(-1),(-1)

Error:

Problem assigning string ‘(1)’ to property ‘ID’ on row ‘1’ : ImportText (ID_24_09F880214688862ED158E7BA62196A37): Missing closing parenthesis: (1)
Problem assigning string ‘Scene1’ to property ‘SceneID’ on row ‘1’ : ImportText (SceneID_25_ECECED164A238CB6020BD197B90F4E92): Missing opening parenthesis: Scene1
Problem assigning string ‘(2)’ to property ‘NextID1’ on row ‘1’ : ImportText (NextID1_26_BEF6B70248008C33057195816DB23F71): Missing closing parenthesis: (2)
Problem assigning string ‘(3)’ to property ‘NextID2’ on row ‘1’ : ImportText (NextID2_27_59EAD76E4C534E7E4B3DF788E9739421): Missing closing parenthesis: (3)
Problem assigning string ‘(2)’ to property ‘ID’ on row ‘2’ : ImportText (ID_24_09F880214688862ED158E7BA62196A37): Missing closing parenthesis: (2)
Problem assigning string ‘Scene2’ to property ‘SceneID’ on row ‘2’ : ImportText (SceneID_25_ECECED164A238CB6020BD197B90F4E92): Missing opening parenthesis: Scene2
Problem assigning string ‘(-1)’ to property ‘NextID1’ on row ‘2’ : ImportText (NextID1_26_BEF6B70248008C33057195816DB23F71): Missing closing parenthesis: (-1)
Problem assigning string ‘(-1)’ to property ‘NextID2’ on row ‘2’ : ImportText (NextID2_27_59EAD76E4C534E7E4B3DF788E9739421): Missing closing parenthesis: (-1)
Problem assigning string ‘(3)’ to property ‘ID’ on row ‘3’ : ImportText (ID_24_09F880214688862ED158E7BA62196A37): Missing closing parenthesis: (3)
Problem assigning string ‘Scene3’ to property ‘SceneID’ on row ‘3’ : ImportText (SceneID_25_ECECED164A238CB6020BD197B90F4E92): Missing opening parenthesis: Scene3
Problem assigning string ‘(-1)’ to property ‘NextID1’ on row ‘3’ : ImportText (NextID1_26_BEF6B70248008C33057195816DB23F71): Missing closing parenthesis: (-1)
Problem assigning string ‘(-1)’ to property ‘NextID2’ on row ‘3’ : ImportText (NextID2_27_59EAD76E4C534E7E4B3DF788E9739421): Missing closing parenthesis: (-1)

Already tried make some modifications using (), {}, …

Please, can someone help me?

Is this for a Data Table?

For a dialogue struct on unreal… I’m new to it…

You can’t import into a struct. Find a tutorial on Data Tables that use structs - it will hold onto them. When it comes to formatting, you’re using a const int, which UE wraps in a struct - the formatting would be close to (Value=0). If unsure, add entries to a Data Table and export it to a CSV first, you’ll get correct formatting / parsing.

Or use a regular integer.

1 Like