sebastian.vesenmayer Posted August 10, 2022 Share Posted August 10, 2022 Hello, I have saved a material by using Material::createMaterialFile into a mounted system Temp directory. virtual an absolute path is C:\Users\svesenmayer\AppData\Local\Temp\MyApplication. The file is there but when I want to load/find the material by Unigine::Materials::loadMaterial / Unigine::Materials::findMaterialByPath it returns a null pointer. What am I doing wrong? Regards Sebastian Link to comment
silent Posted August 10, 2022 Share Posted August 10, 2022 Hi Sebastian, Could you please show us your relevant parts of code and contents of your saved material? 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
sebastian.vesenmayer Posted August 11, 2022 Author Share Posted August 11, 2022 Hi silent, Found out that FileSystemMount has been executed later in our code. File has been written but Unigine could not add it to the virtual file system in that moment, so it couldn't be loaded. We are still in migration process to 2.15.1 where we need to change all material access, so bugs on our side may happen because it changed a lot. This can be closed I guess. Thanks. Link to comment
silent Posted August 11, 2022 Share Posted August 11, 2022 Oh I see. Ok, closed then :) 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