Pingas Posted August 4, 2020 Share Posted August 4, 2020 There is a problem in Unigine(or maybe I do something wrong) referred to loading resources like textures and materials when you mount another folder in runtime and try to load nodes from this folder. If you delete(if they are present everything will be ok, deleting is used to simulate its absence) .runtimes and .cached_textures and then compile and run your project you will be unable to load .node files properly. Materials will be unable to find appropriate textures as they're not in cache. FileSystem::addFileCache and FileSystemAssets::addRuntime don't help. How can I properly load assets(.node files and their resources) from another folder in runtime? Link to comment
morbid Posted August 4, 2020 Share Posted August 4, 2020 Hello, So you're deleting .runtimes folder? If I understood you correct you did :) This folder contains files necessary to load content in your application, including nodes, materials and textures. Without .runtimes folder you won't load anything in the scene. Here's the article that explains our asset system: https://developer.unigine.com/en/docs/2.12/editor2/assets_workflow/assets_runtimes?rlang=cpp 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
Recommended Posts