I’ve been having issues since I’ve upgraded to Urho3D 1.5 last month. I’m still seeing these issues with the latest unstable.
My directory structure is as follows:
C:/Projects/bin/Debug
| Test.exe
| Data/
|| CoreData
|| Data
|| GameData
My setup:
engineParameters_["ResourcePaths"] = configManager->GetString("engine", "ResourcePaths", "Data;CoreData;GameData");
engineParameters_["ResourcePrefixPath"] = configManager->GetString("engine", "ResourcePrefixPath", "Data");
My log output:
[Fri Jan 29 10:00:38 2016] INFO: Added resource path C:/Projects/bin/Debug/Data/
[Fri Jan 29 10:00:38 2016] ERROR: Failed to add resource path 'CoreData', check the documentation on how to set the 'resource prefix path'
AFAIK this should be correct. I went to C:/Projects/bin/Debug/Data/ and verified the folders are there. However my game can only find the ResourcePaths when they’re in the same folder as the executable. How can I get this working?