Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug No "Generate bindings" buttons

Discussion in 'Cloud Code' started by Kurutah, Apr 3, 2024.

  1. Kurutah

    Kurutah

    Joined:
    Jul 19, 2017
    Posts:
    11
    Hey, I’m going through the tutorial (https://docs.unity.com/ugs/en-us/manual/cloud-code/manual/modules/getting-started), but there is no ‘Generate Bindings’ button, only a ‘Generate Solution’ button. Everything else has been working fine so far. Is this because the documentation is outdated, or am I doing something wrong? My project in the editor is linked to the project in the dashboard. I’m using Unity 2022.3.23.f1. I spent more than a few hours, I tried different Unity versions, but for me, it seems like I did everything from this tutorial but there is no such button.
     
    Last edited: Apr 3, 2024
  2. GabKBelmonte

    GabKBelmonte

    Unity Technologies

    Joined:
    Dec 14, 2021
    Posts:
    154
    Hey!

    The Generate Bindings comes in a recent version of the package (2.6.1)
    What version shows up in your package manager?

    Cheers!
     
  3. Kurutah

    Kurutah

    Joined:
    Jul 19, 2017
    Posts:
    11
    Yeah, already found out that this was a problem. Initially, I installed what the Editor suggested by default, and in docs they say "Cloud Code (2.5.0 or higher)" so I didn't think it could be a problem because the default version was something higher.
     
  4. zombience

    zombience

    Joined:
    Mar 29, 2012
    Posts:
    59
    I"m also having this issue
     
  5. MariusUrbelis

    MariusUrbelis

    Unity Technologies

    Joined:
    Mar 15, 2015
    Posts:
    47
    Hey, it is a known issue that the default version of Cloud Code that gets installed if you search for it via the Package Manager is 2.5.1. However, if you follow the tutorial and use "Add package by name" you will see a different version (2.6.1) installed:
    1. To open the Unity Editor’s Package Manager window by selecting Window > Package Manager.
    2. Select + (add) > Add package by name….
    3. Enter com.unity.services.deployment.
    4. Select Add.
    5. Repeat these steps for com.unity.services.cloudcode.
     
  6. zombience

    zombience

    Joined:
    Mar 29, 2012
    Posts:
    59
    I just realized that even though I was on "latest" that it was using version 2.5.1

    Instead of the above I just directly edited the manifest.json to point to version 2.6.1, and this has fixed the issue.

    However now I have a different issue (can't generate code bindings when project is not on C drive) which is already being tracked here
     
    GabKBelmonte and MariusUrbelis like this.
  7. GabKBelmonte

    GabKBelmonte

    Unity Technologies

    Joined:
    Dec 14, 2021
    Posts:
    154
    Hi @zombience,

    What version of the editor are you on? We're working on patching the C drive issue was we speak.

    Gab