8000 [BUG] Clone can't be created when source-Path contains "Asset" · Issue #122 · VeriorPies/ParrelSync · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[BUG] Clone can't be created when source-Path contains "Asset" #122
Open
@LoneSurvivor82

Description

@LoneSurvivor82

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0