I'm doing local debugging running CloudScript calling an Azure function. The local function is getting called correctly, but on the client side the www.downloadHandler.data is always null so it throws a NullReferenceException (in PlayFabUnityHttp.cs, line 157, inside the Post function).
This seems similar to a previous error (https://community.playfab.com/questions/55299/error-when-using-local-cloudscript-on-azure-functi.html) but I've tried different result content encoding, and it doesn't fix the problem.
My Azure project is using .NET 8 and the isolated worker model now. If I revert back to before this change when the project had a target framework of netcoreapp3.1 and Azure function v3, everything works and I get a valid response on the client side.
My Azure project works fine on the real server. This is only a local debugging issue.
Can you think of anything that might need to be changed for local debugging to work with a .NET Azure functions project? Anything related to the response encoding that I need to change?
Thanks.