Skip to content
Shi Chen edited this page Oct 6, 2021 · 1 revision

GML Quirks

Running Ganary on different platforms revealed quirks that are not well documented in the official manual:

UWP & Xbox

  1. As mentioned in this article, we should use buffer_save_async(buffer, filename, offset, size) to save files. For filename, we cannot use non-ASCII characters such as Chinese, Japanese, or Korean characters, or else the game will crash silently.
  2. The directory_ functions on the File Directories page will silently fail
  3. The file_find_ functions on the File System page will silently fail
  4. Firing too many HTTP requests in a short window can cause the game to crash and will most likely cause cert issues.

Switch

  1. Requests to an HTTP endpoint that returns redirect status codes such as 301,302,303,307 will usually automatically redirect to the new URL and return 200 instead. However, on Switch specifically, these 300 statuses will be returned as is instead of the 200.

iOS

  1. Requests to an HTTP endpoint that returns 401 status code will cause the async_load in the HTTP async event to an empty response_header value, whereas other platforms will have not.
  2. Similar to the Switch redirect issue but limited only to status code 308, on iOS platform you will get 308 instead of 200 as on all other platforms.
Clone this wiki locally