VeriorPies / ParrelSync

(Unity3D) Test multiplayer without building
MIT License
4.47k stars 314 forks source link

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

Closed Mid-D-Man closed 1 month ago

Mid-D-Man commented 1 year ago

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)

2) /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):

mccorkle commented 1 year ago

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.

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 commented 1 year ago

Oh dare god it was that simple goddammit no I feel stupid anyway thanks It fixed the issuse

On Fri, 30 Dec 2022, 5:09 pm Mark McCorkle, @.***> wrote:

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.

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.

— Reply to this email directly, view it on GitHub https://github.com/VeriorPies/ParrelSync/issues/95#issuecomment-1367988693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWNK2UIZEWTJGFILNDXLW6DWP4CNBANCNFSM6AAAAAATM7AZLE . You are receiving this because you authored the thread.Message ID: @.***>

JK0089 commented 1 year ago

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

314pies commented 1 month ago

(wiki page updated: https://github.com/VeriorPies/ParrelSync/wiki/Troubleshooting-&-FAQs#cant-clone-the-project--cant-open-the-cloned-project)