Jump to content

default.config


photo

Recommended Posts

Posted

Hi,

I'm storing a custom variable in "default.config" and read the value as Config::getFloat() function in Unigine 2.13, but it constantly reverts itself and deletes my custom variable. I don't know whether it's the best place to store it, but am I doing something wrong?

Thanks.

Posted

tolga

Please check if you do not calling -config_readonly 1 on engine start-up and in the *.config file itself try to change autosave="0" to autosave="1". Maybe that would help.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted (edited)

Is it by default readonly? Because, I'm not calling it with -config_readonly 1. Also it's already autosave="1" in the default.config. Thanks.

Edited by tolga
Posted

Try to set config)readonly to 0 explicitly and see if that change anything.

If nothing helps, we would need a small repro code so we can see that behavior on our side and debug it.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...