When using StringDownloader in the iOS version of VRChat to load large string data, OnStringLoadSuccess is called successfully, but result.Result is truncated partway through the string. This issue does not occur on Android or PC versions.
To investigate, I created an UdonSharp script that repeatedly loads JSON files of different sizes. I tested using several JSON files up to approximately 6 MB in size.
The results showed that truncation begins to occur around 800 KB, and from around 3200 KB (3.2 MB) onward, the string is always truncated.
The test world is available here:
The UdonSharp script and JSON files used for testing are available in this repository:
iOS版VRChatのStringDownloaderにて、ファイルサイズの大きなstringを読み込むと、OnStringLoadSuccessは呼ばれるがresult.Resultが途中で途切れてしまいます。AndroidやPC版では問題ありません。
検証のためにファイルサイズの異なるjsonを数回ずつ読み込むUdonSharpスクリプトを作り、最大6MB程度までのjson数種を使って試したところ、800KBくらいから途切れるようになり、3200KBくらいから必ず途切れるようになります。
テストワールドは以下です。
テストに使ったUdonSharpスクリプトやjsonは以下リポジトリに格納しています

Photo Viewer

View photos in a modal