1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    Dismiss Notice
  3. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  4. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  5. Unity 5.5 is now released.
    Dismiss Notice
  6. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  7. Unity 5.6 beta is now available for download.
    Dismiss Notice

Collaborate projects freezing Unity

Discussion in 'Unity Collaborate' started by rsodre, Dec 3, 2016.

  1. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Hi,

    Since yesterday, any Collaborate project I open in Unity 5.5.0f3 will freeze it. Unity becomes irresponsive for a few seconds, "listens" for a brief moment then freezes again. It's useless!

    If I turn off my network connection, open Unity and choose to work offline, I can work on the projects. But as soon as I turn it on and sign in, it starts freezing again. If I turn off internet, all good again.

    So, I can only work offline!

    Any clues?

    I'm on mac OS X 10.11.6.
     
  2. guru20

    guru20

    Joined:
    Jul 30, 2013
    Posts:
    210
    I tried Collaborate for the first time (5.5.0x1 CollaborateBeta) and wish I hadn't given it a try...
    as soon as I clicked to turn Collaborate on, Unity froze... I waited several minutes, and it was not responding at all so I force-quit the application... Started it back up to try to open it... it freezes upon opening.
    Great. So now I can't work on my application AT ALL (I am going to see if turning off internet works like it did for you. I really hope I don't have to roll everything back to the stable 5.4 and reimport all my assets... again)
     
  3. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    150
    Hey guys, I'm sorry that you're dealing with this frustrating issue. I'd like to get a little more info before coming to any conclusions.

    rsodre, by "listens" what exactly are you referring to? And how large are your projects? There is a known issue where projects larger than 12 GB can take several minutes to open the first time with Collab enabled. But subsequent launches are typically much faster.
     
  4. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Hi Ryan,

    Unity is frozen, but if I click something, it will respond to that click some time. But it's along time, 10-15 seconds.

    Any project on Collab will act like this, even empty ones.

    About 24hs later I opened it again and everything was back to normal. That was the second time it happened to me.
     
  5. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    150
    Wow, even empty projects? That really sucks. There's definitely something going wrong there.

    Are you saying that all of your projects are opening normally now with Collab enabled? You said this is the second time that these freezes happened. Did it take roughly a day for your projects to open normally again after the first time too?

    If you're still experiencing these delays then it would be great if you could submit a bug. If it takes too long to wait for Unity to become responsive then force quit the Editor and use the Unity Bug Reporter to send a bug. That will include the logs of your last two attempts to open Unity and should tell us something. Even better if you could first open Unity using the command line argument: -enableCollabEventLogs. That will give us even more info that can help us figure out exactly what's happening in your case.
     
  6. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Only Collab projects.
    All other projects open fine.
    If I turn off my internet connection, I can work with Collab projects, but as soon as I enable it, Unity starts freezing.

    About the empty project, I thought maybe I could have made an infinite loop in some editor script or something, so I deleted the project and opened it from the collab cloud again to download the previous working version. Frozen the same way, and download didn't even started.

    The first time it happened was in the 5.5 beta days, so I didn't give much attention, just went to do something else.
    The second time I made this report, and it started working fine again next day.

    I'll file a bug report if it happens again.
     
  7. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    150
    I gotcha. That's incredibly frustrating. Please do file a bug if it happens again.

    By any chance do you have a firewall running? If it happens again could you try downloading from In the Cloud with it turned off? A firewall's default settings shouldn't interrupt Collab but I'd just like to rule it out.
     
  8. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Hey @ryanc-unity, it's happening again!

    FogBugz Case 865318
     
  9. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Went back to normal next morning
     
  10. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Started freezing again this morning, working offline.
     
  11. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    150
    Sorry for the delayed response. Just got back from vacation.

    @rsodre I'm so sorry that you're still coming across this issue, even worse that it seems to work for a bit before breaking again. We got your bug report and will look at it as soon as we can. I'll update you once any progress is made on our end.
     
    rsodre likes this.
  12. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Happening again since yesterday... o_O
     
  13. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    150
    Thanks for the update. Our service is currently experiencing some slow down that is likely worsening your situation. We should have that slow down addressed soon. When we update here on the forums that the service is back to normal would you mind checking it again if it's still acting up for you?
     
  14. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    72
    Ok, I'm out! Its impossible to work like this.
    When Unity's not freezing, Collab server will not respond. Was able to make only 2 commits since last friday.
    Now that it's a big team of two people, we need to be in sync, and we can't rely on collab yet.

    I case anyone want to unlink a project from Collab, you need to edit ProjectSettings.asset:

    Change:
    cloudServicesEnabled:
    Collab: 0

    Remove:
    cloudProjectId: xxxxxxx-xxxxxxxx-xxxxxxx-xxxxx
     
  15. Premus

    Premus

    Joined:
    Feb 17, 2017
    Posts:
    11
    I'm having this exact same problem..Me and a buddy cant do anything due to the fact right when collab is enabled unity S***s itself. I can work without collab on just fine. I've tried so many things at this point I'm about to give up.
     
  16. KarelA

    KarelA

    Joined:
    Dec 30, 2008
    Posts:
    380
    Same thing here. Pressing Unity collab button froze my entire project. Good thing that i did a backup because the collab version is totally useless now, stuck in the limbo not responding to anything ever. Lost entire day's worth of work. Very frustrating.
     
    Premus likes this.
  17. Premus

    Premus

    Joined:
    Feb 17, 2017
    Posts:
    11
    I sent in logs to a unity member, hoping i get a reponse on what is happening soon, look at my post to see if its the same case...
     
  18. KarelA

    KarelA

    Joined:
    Dec 30, 2008
    Posts:
    380
    Yep. I think it seems to be same problem. When working offline it is good but as soon as log in Unity freezes.
    Noob question: Is there any way to detach your project from collab? I am currently looking at the profile settings of website but there does not seeb to be an obvious way to disable collab.

    EDIT: managed to find out. You can disable collaboration in Unity editor itself which is funny because because i cannot do that since Unity does not react to anything.
     
    Last edited: Mar 20, 2017 at 5:37 PM
  19. Gurg

    Gurg

    Unity Technologies

    Joined:
    Nov 9, 2016
    Posts:
    48
    If you guys have bug report ID's like rsodre I can look into it quickly to see if you are hitting the same thing as the other user. It also helps if you launch Unity with the -enableCollabEventLogs flag from command line as that will provide additional logging information for the bug report.

    If you are really stuck, think collab is to blame, and need an out at any cost (saying this because I don't know the full extent of side effects for what I am going to suggest), then inside your project root folder at the same level as the Assets folder there is another folder called Library. Inside Library is another folder called Collab. Inside of this folder is a file called "CollabSnapshot_<project-id>.txt". First try just deleting this file and restarting Unity. If this doesn't work then try deleting the Collab folder inside of the Library folder. Keep in mind that this deletes all the information that Collab has about your current local state. This might get you unstuck, but it will also need to do some extra work reprocessing your assets. It shouldn't be a full re-import, but it's going to be a longer process to open your project.
     
  20. Premus

    Premus

    Joined:
    Feb 17, 2017
    Posts:
    11
    Thanks, and yeah I gave my crash log to Ryan on another post a while ago but still have not got a response..
     
  21. Gurg

    Gurg

    Unity Technologies

    Joined:
    Nov 9, 2016
    Posts:
    48
    Unfortunately Ryan is out for a few days and will be back later. I'll see if I can find your post with the bug report ID.
     
  22. Premus

    Premus

    Joined:
    Feb 17, 2017
    Posts:
    11
    I can send you the ID, I sent him it over a DM
     
  23. Gurg

    Gurg

    Unity Technologies

    Joined:
    Nov 9, 2016
    Posts:
    48
    That will work.
     
  24. KarelA

    KarelA

    Joined:
    Dec 30, 2008
    Posts:
    380
    I left my project open for overnight. By morning it was unlocked. This gave me a chance to disable collab. Now everything is working fine.
     
  25. Gurg

    Gurg

    Unity Technologies

    Joined:
    Nov 9, 2016
    Posts:
    48
    Sorry to hear you go :( but I'd rather have you unblocked. Hopefully you'll give it another try in a later release. If the problem is what I think it is, then this is a 5.5.x specific issue. The code since then has been removed.