HTML5 http_request not working anymore on HTML5 Target GMS2

Diegovz01

Member
Hi,

I'm trying to make a post request to a json api with the following code in GameMaker 2 html5 target.

Create event of object:

upload_2019-11-5_14-7-33.png

Asyc http event:

upload_2019-11-5_14-8-23.png


Unfortunately I got the following error:

upload_2019-11-5_14-3-7.png


This only happens with HTML5 target export, when on Windows it works just fine.

Also the weird thing here is that using GameMaker 1.14 both HTML5 and Windows targets it works fine.

Seems like it's a bug.

I'm short in time to elaborate more right now so I will let 2 example project files (gms1 and gms2) in this post so you can give them a review, will also try to make a bug report later.

Example files (Google Drive): https://drive.google.com/drive/folders/1prJu0ePxoTb4mFtvbJXzqmcTiLPLWiDW?usp=sharing

Thanks.
 
H

harambe1

Guest
hello! I am having the same issue on latest version! 2.2.5.481 / 2.2.5.378 is there any fix to this yet?
 

erayzesen

Member
I have the same problem only when json parse on html5 Target. In fact, the problem starts with the ds_map_find_value method returning undefined.

Can anyone find a solution?

Note: I'm still using v2.5.
 
Top