Klimczak.Jan Posted September 18, 2019 Posted September 18, 2019 (edited) Hi, I am trying to load render settings (file created by Save it from Settings window) as: Render::get()->loadSettings("myfile.render"); and then I get message: Xml::load(): can't open "" file Render::loadSettings(): can't load "myfile.render" file this file is located just in data folder. I can load it by double click in editor or via lua. Do you have any idea ? Cheers Edited September 18, 2019 by Klimczak.Jan
silent Posted September 18, 2019 Posted September 18, 2019 Hi Jan, Could you please check if this file is present in engine virtual filesystem (console command: filesystem_list)? If there is no such file, you can manually reload filesystem via filesystem_reload command and file will appear in list. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Klimczak.Jan Posted September 18, 2019 Author Posted September 18, 2019 Hi @silent, That's correct. Thank you :) Cheers
Recommended Posts