Search Unity

  1. We would like to hear your feedback about Unity and our products. Click here for more information.
    Dismiss Notice

[Solved] Collab Freezing Unity / Unable to Publish

Discussion in 'Unity Collaborate' started by ShadyAlien, Mar 5, 2019.

  1. ShadyAlien

    ShadyAlien

    Joined:
    Aug 28, 2009
    Posts:
    206
    Hi all,

    I was wondering if anyone else has been experiencing this issue: yesterday I updated from Unity version 2018.3.0f2 to 2018.3.7f1. I subsequently update collab to 1.2.16 (I can't find what version I was using previously--I hadn't updated it in a while though). Collab had been working well prior to this. I should also note that project is large (10 gb) and the amount of changes I'm trying to publish in this particular instance is large (244 changes). What happens is, when I click the button to bring up the collaborate dropdown, the editor freezes for approximately 5 minutes. After that, the window will briefly appear and then disappear again. Occasionally, it stays open and gives me the option to publish. However, pressing the publish button makes the window disappear again, and nothing gets published, thus starting the cycle all over again. I'm not sure if this is related to the stuff I updated, or the amount of changes I'm trying to publish, or some combination of the two. I feel like I would probably be able to publish this OK, if it weren't for the frustrating UI that keeps disappearing on me.

    Edit: also forgot to mention, I'm on Windows 10.
     
    Last edited: Mar 5, 2019
  2. ShadyAlien

    ShadyAlien

    Joined:
    Aug 28, 2009
    Posts:
    206
    Update: I was able to get it publish after retrying a few times. The editor continues to freeze when I click the collab button, even after publishing (I was thinking that maybe it was freezing because the editor was possibly gathering information on all the changed files or something like that, but now that there are none, that doesn't seem to be the case). However, this time, the window didn't disappear when I clicked "Publish" and successfully did so.

    Edit: I should also note that I was able to publish under the 2019.1.0b5 beta. Not sure if that affected anything or not; I decided to try it out to see if anything would be different, and on the whole my experience was largely the same except for the fact that after a couple of tries the publish button did finally work.

    I'm not sure what's causing the slowdown, but some of my issues would be alleviated if there was a permanent "Publish" button, maybe in the collab history panel (similar to how the Github for Unity plugin does it, I think) that's not a part of a dropdown menu that seems unwilling to show itself a lot of the time.
     
  3. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    150
    Hi @Ramandu,
    Sorry to hear of your issues using Collaborate. So that we can retrieve logs from you and diagnose the cause of the behaviour, please can you log a Support ticket via the Collaborate section of the Developer Dashboard?
     
  4. ShadyAlien

    ShadyAlien

    Joined:
    Aug 28, 2009
    Posts:
    206
    Thanks! I may have found a solution, though. I noticed that simple prefabs were taking an oddly long amount of time to save as well. I deleted the library and let unity rebuild it, and now everything seems to be working normally. I'll put in a support ticket if the issue persists but it seems like rebuilding the library fixed it.
     
  5. ShadyAlien

    ShadyAlien

    Joined:
    Aug 28, 2009
    Posts:
    206
    Futher update: the same problem happens if I'm in a complex scene. If I create a new, empty scene, and then publish, everything works great. A minor inconvenience, but a bit head-scratching.