-
Notifications
You must be signed in to change notification settings - Fork 15
Description
in Unity 2022.3.29, iOS build run on device, method XsollaCatalog.GetCatalog yields a NetworkError, which internally is caused by the UnityWebRequest object.
Request URL:
https://store.xsolla.com/api/v2/project//items/virtual_items?limit=50&offset=0&additional_fields[]=long_description&engine=unity&engine_v=2022.3.29f1&sdk=store&sdk_v=2.4.0&build_platform=iphoneplayer
in the end UnityWebRequest object's "error" property is "Malformed URL", and this thread states that "additional_fields[]=long_description" part of the url causes the error: https://issuetracker-mig.prd.it.unity3d.com/issues/ios-17-malformed-url-error-is-thrown-when-using-unitywebrequest-with-a-uri-containing
i tried fixing Xsolla.Core.UrlBuilder's AddParamAsArray method with replacing "[" and "]" with "%5b" and "%5d" and it helped