Version.Settings.Path.BasePath throws exceptions on Windows
Issue #48
resolved
On release 1.3 the code to find the base path of the ABGT install will fail on windows because it does a path comparison with the wrong path separator in ASSETS_PATH variable before going on to replace path separator.
e.g. The comparison ends up trying to do: "Assets\AssetBundleGraphTool".LastIndexOf("Assets/");
looks like taking the separator replace at the end of the function and applying it when you extract the path first would be an easy fix for it.
Comments (4)
-
reporter -
Fixed with c88d56e in dev and 1.3/release. Sorry that it was not well tested with Windows Editor.
-
- assigned issue to
-
- changed status to resolved
- Log in to comment
The same bug also exists in AssetBundleBuildMap.cs where it looks like some code has been copy-pasted