Haven't installed GMLive in a while but needed to install it today and in GMS2 Beta (IDE v2022.200.0.0475 and Runtime v2022.200.0.452) it looks like some update by YoYo may have broken some stuff lol
Reproduction steps:
1) Start a new project
2) Tools->Import Local Package
3) Drop obj_gmlive in a room
4) Compile and witness these in the Output window:
Function missing: steam_activate_overlay Function missing: steam_is_overlay_enabled Function missing: steam_is_overlay_activated Function missing: steam_get_persona_name Function missing: steam_initialised Function missing: steam_is_cloud_enabled_for_app Function missing: steam_is_cloud_enabled_for_account Function missing: steam_file_persisted Function missing: steam_get_quota_total Function missing: steam_get_quota_free Function missing: steam_file_write Function missing: steam_file_write_file Function missing: steam_file_read Function missing: steam_file_delete Function missing: steam_file_exists Function missing: steam_file_size Function missing: steam_file_share Function missing: steam_is_screenshot_requested Function missing: steam_send_screenshot Function missing: steam_is_user_logged_on Function missing: steam_get_user_steam_id Function missing: steam_user_owns_dlc Function missing: steam_user_installed_dlc Function missing: steam_set_achievement Function missing: steam_get_achievement Function missing: steam_clear_achievement Function missing: steam_set_stat_int Function missing: steam_set_stat_float Function missing: steam_set_stat_avg_rate Function missing: steam_get_stat_int Function missing: steam_get_stat_float Function missing: steam_get_stat_avg_rate Function missing: steam_reset_all_stats Function missing: steam_reset_all_stats_achievements Function missing: steam_stats_ready Function missing: steam_create_leaderboard Function missing: steam_upload_score Function missing: steam_upload_score_ext Function missing: steam_download_scores_around_user Function missing: steam_download_scores Function missing: steam_download_friends_scores Function missing: steam_upload_score_buffer Function missing: steam_upload_score_buffer_ext Function missing: steam_current_game_language Function missing: steam_available_languages Function missing: steam_activate_overlay_browser Function missing: steam_activate_overlay_user Function missing: steam_activate_overlay_store Function missing: steam_get_user_persona_name Function missing: steam_get_app_id Function missing: steam_get_user_account_id Function missing: steam_ugc_download Function missing: steam_ugc_create_item Function missing: steam_ugc_start_item_update Function missing: steam_ugc_set_item_title Function missing: steam_ugc_set_item_description Function missing: steam_ugc_set_item_visibility Function missing: steam_ugc_set_item_tags Function missing: steam_ugc_set_item_content Function missing: steam_ugc_set_item_preview Function missing: steam_ugc_submit_item_update Function missing: steam_ugc_get_item_update_progress Function missing: steam_ugc_subscribe_item Function missing: steam_ugc_unsubscribe_item Function missing: steam_ugc_num_subscribed_items Function missing: steam_ugc_get_subscribed_items Function missing: steam_ugc_get_item_install_info Function missing: steam_ugc_get_item_update_info Function missing: steam_ugc_request_item_details Function missing: steam_ugc_create_query_user Function missing: steam_ugc_create_query_user_ex Function missing: steam_ugc_create_query_all Function missing: steam_ugc_create_query_all_ex Function missing: steam_ugc_query_set_cloud_filename_filter Function missing: steam_ugc_query_set_match_any_tag Function missing: steam_ugc_query_set_search_text Function missing: steam_ugc_query_set_ranked_by_trend_days Function missing: steam_ugc_query_add_required_tag Function missing: steam_ugc_query_add_excluded_tag Function missing: steam_ugc_query_set_return_long_description Function missing: steam_ugc_query_set_return_total_only Function missing: steam_ugc_query_set_allow_cached_response Function missing: steam_ugc_send_query
5) And then a crash during compile (note that the "Function missing" list above is different from the crashing function here:
___________________________________________ ############################################################################################ ERROR in action number 1 of Create Event for object <undefined>: Variable <unknown_object>.ugc_match_ControllerBindings(100558, -2147483648) not set before reading it. at gml_Script_live_preinit_init_consts (line 68) - l_gmlConstValues=[undefined,pointer_invalid,pointer_null,path_action_stop,path_action_restart,path_action_continue,path_action_reverse,pi,NaN,infinity,GM_build_date,GM_version,GM_runtime_version,timezone_local,timezone_utc,gamespeed_fps,gamespeed_microse ############################################################################################ gml_Script_live_preinit_init_consts (line 68) gml_Script_live_preinit_api (line 375) - live_preinit_init_consts(); gml_GlobalScript_GMLive (line 2069) - live_preinit_api();
6) If I add a line like this based on another post I saw:
#macro ugc_match_ControllerBindings undefined
...then that error clears, but it just goes to the next ugc_match_* function, and then through all the other ugc_* ones. So I made macros for ALL the ugc_* functions incase it's just related to that, and then I got this crash:
___________________________________________ ############################################################################################ ERROR in action number 1 of Create Event for object <undefined>: Variable <unknown_object>.lb_disp_time_ms(100558, -2147483648) not set before reading it. at gml_Script_live_preinit_init_consts (line 68) - l_gmlConstValues=[undefined,pointer_invalid,pointer_null,path_action_stop,path_action_restart,path_action_continue,path_action_reverse,pi,NaN,infinity,GM_build_date,GM_version,GM_runtime_version,timezone_local,timezone_utc,gamespeed_fps,gamespeed_microse ############################################################################################ gml_Script_live_preinit_init_consts (line 68) gml_Script_live_preinit_api (line 375) - live_preinit_init_consts(); gml_GlobalScript_GMLive (line 2069) - live_preinit_api();
...and gave up trying to fix it myself lol
Any thoughts?