#I had this which worked before the

1 messages · Page 1 of 1 (latest)

teal canopy
#

Looks fine at a glance. You could try using breakpoints to make sure that the initialization is definitely being reached before the call to SayHello

fluid jasper
#

I even put them on the same method just to make sure, but I'm still getting the Object Reference Error.

#

I'm confused, It was working before, I made lots of cloud code functions already, but after the update it just totally broke.

teal canopy
#

Are you sure it's the stageCode instance that's null? A constructor can't return null so I don't see how it could be that if you've tried placing them sequentially in the same method. It might be the CloudCodeService - try adding this to your Start method before the stageCode is initialized: await UnityServices.InitializeAsync();

fluid jasper
#

Oh, you're right. It appars the InitializeAsync line had gone missing on my end which caused the Cloud Code Functions to not work.

#

I was confused since it was giving me an Object Reference Error instead of a Cloud Service Connection Error.

#

Thank you so much for the help!