Jump to content

[SOLVED] Loading Package


photo

Recommended Posts

Posted
loading packages using C++ API returns NULL:

 

const char *packageName = "D:\\packages\\package.zip";

Package *package = Unigine::FileSystem::getPackage(packageName);

 

if (package != NULL){

}

 

//alwyas skips this block

 

 

Posted

Maybe package must be stored somewhere in the UNIGINE data folder

Posted

Hi Ulf,

 

Thanks for the reply. I've tried putting the package in different locations with no luck. I had implemented load package using Unigine script and works fine no matter where the package actually reside, just stocked in c++ version.

 

again thanks 

×
×
  • Create New...