Jump to content

[SOLVED] Unigine::FileSystem::addPackage should automatically reload the contents in package


photo

Recommended Posts

I'm writing a web player, so I need to register local cached ung files, after I use Unigine::FileSystem::addPackage, unigine didn't reload the contents of that package, so I must issue the filesystem_reload command to reload the contents, then I can load the world in this package.

 

Is this designed to work like this? if so, engine should expose a filesystem_reload function in UniginePackage.h, But I really think addPackage function should automatically load the package contents in package.

Link to comment

Yes, please load them via filesystem_reload function. It's unlikely this flag won't be added into addPackage() function in the nearest future, sorry.

Link to comment
×
×
  • Create New...