Warner_V
(Warner)
1
Pretty basic question I guess… but can someone tell me what character to use to comment out lines in e.g. the DefaultEngine.ini file?
So if I want to skip the second line in:
[/Script/Engine.RendererSettings]
r.DefaultFeature.AmbientOcclusion=True
do I make it
[/Script/Engine.RendererSettings]
#r.DefaultFeature.AmbientOcclusion=True
or
[/Script/Engine.RendererSettings]
//r.DefaultFeature.AmbientOcclusion=True
or something else?
…it would be great if I can comment out so I can properly document changes and have less need to make backups after each change…
Thanks!!
Warner
Zeblote
(Zeblote)
2
It looks like the correct way to add comments in ini files is
; blah
8 Likes
Quoting from the Official Documentation:
https://docs.unrealengine.com/en-US/…igurationFiles
Unfortunately they don’t expand on that train of thought so who knows what are actually comments. Thanks Epic! lol
2 Likes
It appears that you can use // for comments. I just found this out the hard way, because my ini file contained the line
BaseURL=https://example.com/
But the BaseURL variable in my Settings object was set to “https:”. Thanks, Epic!
1 Like