Search Unity

Unity's version control component has been upgraded to Plastic SCM.

[Solved] No Method Error. NilClass - can't upload.

Discussion in 'Unity Collaborate' started by Neo-Dragon, Aug 29, 2018.

  1. Neo-Dragon

    Neo-Dragon

    Joined:
    Feb 29, 2016
    Posts:
    17
    I recently got a new machine and was able to download my project from Collab with no issues. Now, I can't upload any new changes at all. It fails straight away with the warning:
    "[Collab] NoMethodError: undefined method `size' for nil:NilClass"

    Does anyone have experience dealing with this and solving it?
    Thanks.
     
    nickeron likes this.
  2. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    Hi Neo-Dragon and anyone else that may be having this problem,

    You are not the only one seeing this. It appears that the common occurrence between the affected projects is the inclusion of the Anima2D asset store package. We are investigating and will update ASAP.

    Any further information is appreciated, such as letting us know if you upgraded that package recently (it was updated on August 13) and if your team is on MacOS, Windows, Linux or a mix of platforms.
     
  3. nickeron

    nickeron

    Joined:
    Jun 20, 2018
    Posts:
    3
    Hi there same problem here!
    I am on Windows.
    I had a problem updating Anima2D on Editor version 2018.2.4f1 and had tried at least 20 or more times to do so. It was downloading and then the button turned to "Update" again.
    On current Editor version I had the ability to import it after downloading.
    Nevertheless it took me another 3-4 tries until the new Anima2D version was imported.
    Finally when it did, I couldn't submit anything to Collab getting the above error as a report.
    Tried deleting the CollabSnapshot txt but with no luck.
     
    Last edited: Aug 29, 2018
  4. mentorgame1

    mentorgame1

    Joined:
    Oct 31, 2016
    Posts:
    19
    same problem here, and the editor log show this above the NoMethodError. Using Windows Here.


    Code (CSharp):
    1. [CEF] Error retrying unity object initialization in https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js at line 27
    2. UPID Received 'e6c0c9fb-658b-4586-abe7-9ad9b36a0fca'.
    3. [CEF] Error retrying unity object initialization in https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js at line 27
    4. [CEF] TypeError: undefined is not a function
    5.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:43:3159
    6.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:27:17209
    7.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:14:12950
    8.     at e (https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:12:20731)
    9.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:12:22152 in https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js at line 13
    10. [CEF] TypeError: undefined is not a function
    11.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:43:3159
    12.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:27:17209
    13.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:14:12950
    14.     at e (https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:12:20731)
    15.     at https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js:12:22152 in https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub/assets/unityeditor-cloud-hub.js at line 13
    16. Error: Analytics: SubmitRequest skipped because it was sent more than once in 0.10 seconds
    17. [Collab] NoMethodError: undefined method `size' for nil:NilClass
    and then on de Unity Cloud Status system the Analytics Server is offline.

    upload_2018-8-29_14-23-19.png
     
    Last edited: Aug 29, 2018
  5. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    UPDATE: We have been able to reproduce the problem and will be making some server-side changes to handle it. I don't have an ETA right now, but will post a further update tomorrow.
     
  6. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    UPDATE 2: The fix has been submitted and should be making it's way through QA to production in the next few days.
     
  7. Neo-Dragon

    Neo-Dragon

    Joined:
    Feb 29, 2016
    Posts:
    17
    How long does it take for that to go through? I just tried it today and still no luck and the same error.
    Thanks.
     
  8. mentorgame1

    mentorgame1

    Joined:
    Oct 31, 2016
    Posts:
    19
    horrible we will need to wait how long? a new unity version to get this working?
     
  9. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    UPDATE 3: We are hoping to have this pushed out by Thursday, Sept 6, 00:00 UTC. I'll post again when it's deployed.
     
  10. dtakahas

    dtakahas

    Joined:
    Oct 22, 2015
    Posts:
    83
    UPDATE 4: The fix for this is live. We also deployed a small fix that some users were seeing with regard to archiving Collaborate data. Please let us know if your issues are not resolved!
     
    softrare likes this.