david.sanda Posted December 26, 2019 Share Posted December 26, 2019 (edited) To speed up development workflow, i would like to force reloading of the plugin from outside the editor. Ie shutdown plugin, recompile it, reload it, preferrably trigger these 3 actions from inside the visual studio. What is the preferred way to connect to the editor from outside to do it? It would be useful to have a shortcut that wound open console window. With that, it would be then smooth to open unigine process and send the command to the console and execute it using windows SendKeys function. Edited December 26, 2019 by david.sanda Link to comment
morbid Posted December 27, 2019 Share Posted December 27, 2019 Hello David, Do you mean new Editor plugins? Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
david.sanda Posted December 27, 2019 Author Share Posted December 27, 2019 9 hours ago, morbid said: Hello David, Do you mean new Editor plugins? Thanks. No, the standard plugins. Link to comment
david.sanda Posted December 28, 2019 Author Share Posted December 28, 2019 I am trying to dynamically change (standard) plugins during the runtime of the Unigine Editor. Unfortunately, when i unload the plugin, it is still retained in the memory. Is Unigine releasing the dll when plugin is shutdown? Link to comment
silent Posted December 29, 2019 Share Posted December 29, 2019 Hi David, Right now it's not possible to fully unload DLL from API to unlock the file. We will provide a solution for that task in the future (can't say the exact ETA right now, sorry). 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
david.sanda Posted December 29, 2019 Author Share Posted December 29, 2019 Ok, thanks. It is not too urgent. Link to comment
morbid Posted January 8, 2020 Share Posted January 8, 2020 Hi David, I merged two topics on plugins. As Andrew said, you can't unload or reload plugin without reloading of the engine. We'll think of possible improvements for this. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted November 6, 2020 Share Posted November 6, 2020 plugin_quit will unload .dll from memory starting with 2.13 update. 2 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts