Unity Redeem not sending message info

I’m working on a unity app that takes the channel point redeems and adds them onto a wheel and what not.

However, everytime it sends a reward, it send the username and what reward it was but not the message information for some reason? Like, it’s always empty.
The “If(message == “”)” code is my temporary manual download of the message that sometimes messes up.

Here is my code:

Is this using

  • eventsub?
  • legacy pubsub?
  • chat?
  • the unity game engine plugin?
  • something else?

What message or payload are you consuming that doesn’t have this information?

I’m using the Unity Engine plugin, and yes, this SendReward function gets called anytime a reward gets redeemed through the API, so that’s flawless.

The reward reward event correctly passes the redeemer name and reward title, but the message is always empty.

I forgot I changed the code to the new one that doesn’t use the redeem prompt, so I re-enabled that and here is the updated example of what is going wrong:

It’s a known issue in the plugin.

Since I’m new, I can only attatch one image, but here is what unity says:
exxample 3
And the thing I did in my chat is: I redeemed the corresponding reward, that has a mandatory text prompt, which contained “Test”

Oh that’s unfortunate, do you have any good ways to get around this or different ways to do it?
I’m currently manually reading the last chat message, but sometimes the chat goes too fast and it reads the wrong message

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.