Thanks for the reply Loath,
The crash msg is:
!!!!Ogre::Exception!!!!Ogre::FileNotFoundException::FileNotFoundException: Cannot locate resource ...FILE_PATH\FILE_NAME.tga in resource group General. in ResourceGroupManager::openResource at OGRE_PATH\OgreMain\src\OgreResourceGroupManager.cpp (line 705)
If I'm not mistaken, your code:
Code: Select all
auto& textures = Ogre::TextureManager::getSingleton ();
auto texture = textures.load (name, RESOURCE_GROUP);
Assumes the resource is already part of the resource group while mine does not.
This use to work without issue on 1.10.11. There has to be a simple way to add a resource to a group on the fly and then load it to memory (Image in my case).
Thanks
Shem