How to set vector inside ini/config file?

No documentation or source file explains how to set vector inside ini/config file. All other basic variable types work perfectly. Only vector type that I don’t know how to write the values properly.

“Examples” (ini/config file):
[/Script/ExampleModule.ExampleClass]
ExampleVector1=“X=0,Y=0,Z=5”
ExampleVector2=“0,0,5”
ExampleVector3=0,0,5

None of the alternatives above work. Any idea guys? (I know that I can’t be the only one trying this).

Notes: I checked million times the name of the variable and other settings. I need only to know how to write the values correctly for this specific case. Thanks in advance.

Sincerely…

just an idea, make vector in game, save it to ini file. And you see.

However i have feeling that you should, use format text to write string/text to ini.
Then read string and parse into vector.

It’s basically like structs

ExampleVector=(X=0,Y=0,Z=5)
2 Likes

Thank you very much!!

I’ve lost count. You’re helping me again and saving my sanity. haha
You have no idea how many alternatives I tried, I spent almost 2 days trying. Then, I’m writing my question for you to answer as if it were something normal. lol

Thank you very much. I’m going to mark it as a solution so that others can also find it and benefit from it.

Thank you for the answer. The answer from Chatouille is the correct. Now, we learned something new.