Cloud Code Modules feedback and feature requests

I didn't realize Cloud Code Modules was this new, just available since a few months?

I'd like to think I'm a pretty experienced programmer, not at a Senior level, but definitely above Junior.
I had a pretty hard time getting Cloud Code Modules to work.

Now that I got everything set up I really like it!
There are some things that would be very helpful though!

The logging doesn't work for me, it just throws an error when I try to add the example code.
https://docs.unity.com/ugs/en-us/manual/cloud-code/manual/modules/how-to-guides/error-handling#Logging

That would be extremely useful if it worked.

It would also be really nice to have a dashboard that shows requests.
I've also noticed that sometimes it seems to take a while after deploying before the updated version of the module starts working, it would be nice to be able to see when this is ready loading.

Also displaying the IP address of the server would be nice, so we can add the IP to the allowed IPs list on external services we use.
For example my CCM is calling a database that only accepts allowed IPs.

It's a really cool feature, but it seems to be lacking a lot of support & usability.

Hey CallMePasc!

What about the setup was difficult?
Have you had the chance to use editor workflows for CCM?

I'll forward this to a few people of the CloudCode team :)

Hey CallMePasc,

I'm glad you're finding Cloud Code Modules useful, we're taking your feedback and discussing it within the team. The IP whitelisting is an interesting use case. As for the logging, we have a dedicated section in the docs that goes into more detail - https://docs.unity.com/ugs/en-us/manual/cloud-code/manual/logging

The page that you linked has a sample which requires some additional setup in the Economy service. I would recommending checking out the tutorials within the Logging section as that is a lot more plug&play. Make sure that your project has the Microsoft.Extensions.Logging package installed, then this sample should just work - https://docs.unity.com/ugs/en-us/manual/cloud-code/manual/logging/tutorials/emit-logs#Cloud_Code_C#_modules

Thanks for the replies.
I'll definitely check out the logging when I have the time.

Setting up CCM was really hard because I'm on Windows, the only way that worked was installing node.js and then download the package if I remember correctly.
When I have time I'll leave a more in depth reply. But there was no information on how to install for Windows.

I have not tried the editor workflows yet. Will take a look at it at some point.

What I'm really missing right now is a status on my module whenever I deploy it.
Sometimes it seems to take a few minutes and then I keep getting weird errors when running my game. So it's hard to know if I'm getting errors because I made a mistake or because it's still loading.

If you're interested in checking out my use case, here's a link to the Steam page (free game)
https://store.steampowered.com/app/2695110/Infinite_Forest_Idle/

For now only part of it runs on CCM, but I plan to move all the logic to CCM so the clients are purely for input and visuals.

Setting up CCM was really hard because I'm on Windows, the only way that worked was installing node.js and then download the package if I remember correctly.

when you created a solution, did you create it by hand? We have since introduced a "new-file" command to "ugs cloud-code modules" that creates a template project by default.

the only way that worked was installing node.js and then download the package if I remember correctly. But there was no information on how to install for Windows.

This is definitely stuff we can work on, on our side. Will be taking a note. In particular, need node seems to be an artefact from cloudcode JS not modules