Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Resolved [deleted]

Discussion in 'Cloud Code' started by BackgroundMover, Apr 2, 2024.

  1. BackgroundMover

    BackgroundMover

    Joined:
    May 9, 2015
    Posts:
    245
    If you're having trouble with parameters being received as null by cloud code, ensure they are in a 'params' object, in addition to any 'params' object your sender might have generated. For example OpenAI sends request body data in a params object, but this then needs an additional params object inside it, which then holds your cloud function parameters
     
    Last edited: Apr 2, 2024