Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] When I clone my project it gets cloned but does not clone my assets and project settings #95

Closed
Mid-D-Man opened this issue Dec 30, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Mid-D-Man
Copy link

Describe the bug
A clear and concise description of what the bug is.
When I clone my project it gets cloned but does not Cole with my assets and project settings so when I try to open the cloned project it says the file is not supported and doesn't show up in the unity hub it gives me this two errors when I clone

  1. /bin/bash: -c: line 0: syntax error near unexpected token (' /bin/bash: -c: line 0: ln -s /Users/mac/Desktop/StickToTheDeath/Stick\ to\ the\ death\ (urp)\ m.copy.2/Assets /Users/mac/Desktop/StickToTheDeath/Stick\ to\ the\ death\ (urp)\ m.copy.2_clone_1/Assets'

UnityEngine.Debug:LogError (object)
ParrelSync.ClonesManager:ExecuteBashCommand (string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:657)
ParrelSync.ClonesManager:CreateLinkMac (string,string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:324)
ParrelSync.ClonesManager:LinkFolders (string,string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:378)
ParrelSync.ClonesManager:CreateCloneFromPath (string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:113)
ParrelSync.ClonesManager:CreateCloneFromCurrent () (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:64)
ParrelSync.ClonesManagerWindow:OnGUI () (at Assets/ParrelSync/ParrelSync/Editor/ClonesManagerWindow.cs:180)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

  1. /bin/bash: -c: line 0: syntax error near unexpected token (' /bin/bash: -c: line 0: ln -s /Users/mac/Desktop/StickToTheDeath/Stick\ to\ the\ death\ (urp)\ m.copy.2/ProjectSettings /Users/mac/Desktop/StickToTheDeath/Stick\ to\ the\ death\ (urp)\ m.copy.2_clone_1/ProjectSettings'

UnityEngine.Debug:LogError (object)
ParrelSync.ClonesManager:ExecuteBashCommand (string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:657)
ParrelSync.ClonesManager:CreateLinkMac (string,string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:324)
ParrelSync.ClonesManager:LinkFolders (string,string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:378)
ParrelSync.ClonesManager:CreateCloneFromPath (string) (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:114)
ParrelSync.ClonesManager:CreateCloneFromCurrent () (at Assets/ParrelSync/ParrelSync/Editor/ClonesManager.cs:64)
ParrelSync.ClonesManagerWindow:OnGUI () (at Assets/ParrelSync/ParrelSync/Editor/ClonesManagerWindow.cs:180)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

To Reproduce
Steps to reproduce the behavior:

it just happens when ever I try to clone my main project but not any new project I create so I don't know weather its from the files or something

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots/Video
If applicable, add screenshots or video link( Youtube/Vimeo) to help explain the problem.

Enviroment (please complete the following information):

  • Unity Editor Version: (For Example: Windows 2019.3.0f6)
  • ParrelSync Version: (For Example: 1.4.3)
  • OS Version: (For Example:Windows 10 21H1, macOS Big Sur, Ubuntu 20.04 LTS)
    I'm using unity version 2022.1.23f1
    Additional context
    Add any other context about the problem here.
@Mid-D-Man Mid-D-Man added the bug Something isn't working label Dec 30, 2022
@mccorkle
Copy link

mccorkle commented Dec 30, 2022

I'm going to take a WILD guess and say that you are seeing this because your project's name has spaces and parenthesis in it. Rename your project to remove the parenthesis, and I bet it will work like a champ.

  • this is based on my tab complete of a similar named folder doing this on my mac: ln -s test\ \(foo\)
  • full disclosure: I do not have Unity on my mac, so I can't test this to confirm.

If this fixes it, the developer would just need to escape (or quote) the project folder names in his ln -s statement for Linux and MacOS.

@Mid-D-Man
Copy link
Author

Mid-D-Man commented Jan 4, 2023 via email

@JK0089
Copy link

JK0089 commented Mar 13, 2023

I had the same issue, space in project name were the problem. Would be great if this was a little better signposted!

@314pies 314pies changed the title [BUG] When I clone my project it gets cloned but does not Cole with my assets and project settings [BUG] When I clone my project it gets cloned but does not clone my assets and project settings May 25, 2024
@314pies
Copy link
Contributor

314pies commented May 25, 2024

@314pies 314pies closed this as completed May 25, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants