code:
GConfig->SetString(
TEXT("DeepseekAISettings"),
TEXT("SystemPrompt"),
*CurrentSystemPrompt,
ConfigFilePath
);
GConfig->Flush(false, ConfigFilePath);
This code worked in 4.27, but after migrating to 5.5, it can’t save the ini file ![]()
code:
GConfig->SetString(
TEXT("DeepseekAISettings"),
TEXT("SystemPrompt"),
*CurrentSystemPrompt,
ConfigFilePath
);
GConfig->Flush(false, ConfigFilePath);
This code worked in 4.27, but after migrating to 5.5, it can’t save the ini file ![]()
Greetings @Anonymous_2a43abafef3525de790aa6f337f35097
Welcome to the Unreal Community Forum! I believe later UE versions made some changes to how INI files are saved. I’d try using GConfig->SetText instead. Let me know if that works.
this one will be help you: