Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Clone can't be created when source-Path contains "Asset" #122

Open
LoneSurvivor82 opened this issue Mar 21, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@LoneSurvivor82
Copy link

LoneSurvivor82 commented Mar 21, 2024

The source path of the project is this:
grafik

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.

@LoneSurvivor82 LoneSurvivor82 added the bug Something isn't working label Mar 21, 2024
@314pies
Copy link
Contributor

314pies commented Apr 22, 2024

Yeah that doesn't seem right, thanks for reporting it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants