[BUG] Clone can't be created when source-Path contains "Asset"
LoneSurvivor82 opened this issue · 1 comments
LoneSurvivor82 commented
The source path of the project is this:
ClonesManager.cs contains this method which hardcode removes the Assets-Part:
public static string GetCurrentProjectPath()
{
return Application.dataPath.Replace("/Assets", "");
}
So the generated path will become
E:/NetHelpersGames/Unity/ProjectsTest/Realistic Car Controller Pro/Realistic Car Controller Pro_clone_0/Library
which is wrong and leads to a DirectoyNotFoundException.
It should at least check for a closing slash to prevent things like this.
314pies commented
Yeah that doesn't seem right, thanks for reporting it!