OFFICIAL GMS2 Version 2.2.3 (BETA RELEASE)

Discussion in 'GameMaker Studio 2 Community Tech Support' started by rmanthorp, Jun 5, 2019.

  1. rmanthorp

    rmanthorp YoYo Games Staff Admin YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    300
    Beta IDE Release Notes
    Beta Runtime Release Notes
    Beta Opt-In FAQ (How to get on the Beta Channel)

    This topic is for the discussion of issues relating to the update of GameMaker Studio 2. However, this does not replace our normal bug reporting system and you should report all bugs as normal using https://accounts.yoyogames.com/contact-us#studio2

    2.2.3 introduces tvOS as a new export target if you have the Mobile licence, the ability to add comments to your DnD projects (and lots of other DnD fixes), the option to turn off the file system sandboxing on Desktop platform, support for exporting asset packages locally so you can share with your team more easily, and better communication of when your licences are to expire. Plus, this release has a whole bunch of major stability fixes to stop startup crashes and various other issues whilst using the Windows IDE, and issues with keychain certificate trust settings and building for Ubuntu on the Mac IDE.

    We have also changed the way we handle startup crash messages on Windows, so that now (should you even see issues after all the fixes in this release...) it's a one-click report submission tool which automatically gets all the info we require for us to fix your issue and sends it directly to us without you having to file a Helpdesk ticket..2.2 sees a major update to our Spine support, an update to our font functionality, and changes to handling audio on HTML5 (especially iOS and Android browsers). Plus, more stability fixes and extra dialogues to better inform you of system issues.

    With 2.2.3 beta releases, we're especially keen for feedback on the following key areas. For those key areas we have created a different thread for each linked below, please discuss each change in its respected thread.

    KNOWN ISSUE: We are aware of Google Play advising you really should use the new Bundle build system now. Those warnings (and claims that this is blocking a couple of people's game submissions) came just as we were about to release this version, so these extensive changes for Google Play packages will need to wait until 2.2.4 - at which point were doing a comprehensive update of Gradle and the build processes. For now, see https://help.yoyogames.com/hc/en-us...ate-An-App-Bundle-For-Google-Play-Submissions

    KNOWN ISSUE: If you try to build the current Marketplace version of Google Play Services extension in this beta you'll find you get an error about file mismatches. You need to download the newer version from here. (Once the beta period is over, this new version will be set live on the Marketplace.)

    For everything else and general issues related to 2.2.3 please discuss here.

    tvOS Export: https://forum.yoyogames.com/index.php?threads/gms2-tvos-export-2-2-2.64004/

    Local Asset Packages: https://forum.yoyogames.com/index.php?threads/gms2-local-asset-packages-2-2-2.64005/

    Crash Reporting (Startup/Deadlock): https://forum.yoyogames.com/index.php?threads/gms2-crash-reporting-2-2-2.64006/


    2.2.3.433 released to the Stable Channel! You can now opt-out again and get the normal update.


    The only change in this IDE is final release notes, a crash fix for editing variables in the debugger, and a small change to the crash-reporting tool.

    The runtime version remains the same 341.


    Beta 3 IDE v2.2.3.432 Runtime v2.2.3.341

    New in IDE 432
    • Added a number of fixes and updates to the crash-reporting tool itself, so we capture even better info in the memory dump
    • Lots of updates to the manual for bug-fixes, formatting changes, and a few bits of missing content
    • 0029750: Suggestion: My Library: Importing the same asset again should ask if you want to overwrite, not just make duplicates
    • 0030417: Preferences: No setting for default sprite animation speed in Sprite Editor
    • 0031002: Device Manager: tvOS devices have their boxes extended off screen until you resize the window
    • 0031037: Resource Tree: Groups can be created with invalid character set, causes issues importing packages created with these characters
    • 0031059: General: Mac IDE crashes on startup on macOS Catalina beta or if you installed Apple's mistaken Xcode update on Mojave
    • 0031074: Room Editor: Cutting tiles when any instance is also selected will silently delete that instance

    New in runtime 341
    • 0030618: iOS Build: GMS2 always fails to run project on device due to i386 architecture error during Tests phase
    • 0031038: Functions: keyboard_virtual_show() does not work as expected and produces odd results on iOS and tvOS
    • 0031056: HTML5: Gamepads don't work correctly for games run in a Chromium-based browser
    • 0031061: tvOS: Unable to compile an archive
    • 0031062: tvOS (YYC): Unable to compile an archive
    • 0031063: tvOS: Unable to write out ini files
    • 0031067: Windows (YYC): Game crashes with no error dialog if you try to draw_sprite_ext() a sprite which doesn't exist


    Beta 2 IDE v2.2.3.426 Runtime v2.2.3.338 (please update now!)

    New in IDE 426
    • Updated the French/German/Spanish localisation for the new 2.2.3 features
    • 0031017: UI: Runtime version shows as v99.99.99.99 until it has installed
    • 0031018: Room Editor: Copy and Paste of Assets in the room editor does not copy animation values
    • 0031029: Room Editor: Renaming the room with an instance's creation code open will delete all the code for that instance
    • 0031037: Resource Tree: Groups can be created with invalid character set, causes issues importing packages created with these characters
    • Fixed an issue with the project import repair tool so it correctly handles an issue with user views which could cause an "Unable to find rooms" error when compiling
    • Fixed the logging of an OpenGL error causing startup crashes for a small number of users - please continue to submit your crash reports and then we can fix the root cause also!

    New in runtime 338
    • Fixed an issue with unsupported functions causing HTML5 games to end in runtime 337, rather than writing a warning to the log that the function had been ignored
    • 0030991: HTML5: if(undefined = a) is not the same as if(undefined == a) and also a fatal error
    • 0030989: Functions: variable_global_exists seems to not work correctly
    • Changed the Android runner to now only pause on explicit "onPause" messages from the OS and ignore "focus lost" messages - fixes 0030927: Android: Dragging the tray down over your game will cause the game to freeze until you close the tray
    • Fixed an issue with Lint analysis failing builds during the gamepad checking stage if your minimum API version was set to 18 or lower
    • 0031056: HTML5: Gamepads don't work correctly for games run in a Chromium-based browser (Opera, Vivaldi, etc.)


    Beta 1 IDE v2.2.3.425 Runtime v2.2.3.337 (please update now!)
     
    Last edited by a moderator: Jul 4, 2019
    Japster, immortalx, gnysek and 5 others like this.
  2. Amon

    Amon Member

    Joined:
    Sep 13, 2016
    Posts:
    274
    Cool, thank you. Downloading now.
     
  3. SnortySnoopy

    SnortySnoopy Member

    Joined:
    Apr 25, 2018
    Posts:
    213
  4. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,537
  5. SnortySnoopy

    SnortySnoopy Member

    Joined:
    Apr 25, 2018
    Posts:
    213
    Yup. I'm downloading it now. Cross fingers it's incorporated in that Beta IDE. Else my hope to release the apk tonight or anytime soon is out the window.
     
    rIKmAN likes this.
  6. Amon

    Amon Member

    Joined:
    Sep 13, 2016
    Posts:
    274
    I've installed the 2.2.3.425 IDE but There is no new runtime being downloaded.

    edit

    All fine now.
     
    Last edited: Jun 5, 2019
  7. SnortySnoopy

    SnortySnoopy Member

    Joined:
    Apr 25, 2018
    Posts:
    213
  8. chmod777

    chmod777 Member

    Joined:
    Aug 26, 2016
    Posts:
    212
    Interesting... So shouldn't real("blahblah") now return NaN instead of crashing?
     
  9. tinyBigGAMES

    tinyBigGAMES Member

    Joined:
    Jun 5, 2019
    Posts:
    12
    Ahh, nice. Downloading.
     
  10. Hyomoto

    Hyomoto Member

    Joined:
    Jul 7, 2016
    Posts:
    1,075
    I nearly fell out of my chair. Local asset packages?!? I mean, other stuff too, but LOCAL ASSET PACKAGES?!

    I do not, however, see a way to update said packages, which is basically the holy grail for me right now. The thing is, if you build a back-end of tools to use in a project, and improve them over the course of a project, and want to re-import those changes into the original back-end project: well, you might as well just give up. It's a pain to be kind. This is a great start though, and heavily appreciated.
     
    JeffJ, rIKmAN and Lonewolff like this.
  11. nacho_chicken

    nacho_chicken Member

    Joined:
    Jun 21, 2016
    Posts:
    381
    The real unsung hero of this update is the high-refresh-rate monitor IDE support. Finally! GMS2 shouldn't feel like it's lagging on my setup anymore.
     
    Jobo likes this.
  12. Zhanghua

    Zhanghua Member

    Joined:
    Aug 3, 2017
    Posts:
    169
    when do we update the Steam Version?
     
  13. Lonewolff

    Lonewolff Member

    Joined:
    Jan 8, 2018
    Posts:
    1,207
    Did I ready this right? Updating right now just to make sure this isn't a joke! If this is for real, I'm declaring this day a public holiday worldwide. :D


    [edit]
    Awww, you guys got me!

    [​IMG]

    As soon has I hit the 'opt-in' button on beta.

    A restart of GMS sorted it and downloading now. (Just thought someone might see the funny side :p)


    [edit 2]
    Yep. Local asset packages (seem to) work like a charm at first test. :cool:

    Took a second to find it though.
    • Tools > Create Local Package
    • Tools > Import Local Package

    Very cool! :)
     
    Last edited by a moderator: Jun 6, 2019
    Carbon likes this.
  14. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    469
    GM no longer seems to recognize function names? It thinks all function names are variables:
    [​IMG]
     
  15. Lonewolff

    Lonewolff Member

    Joined:
    Jan 8, 2018
    Posts:
    1,207
    Does where I am sitting.

    [​IMG]
     
  16. TheSnidr

    TheSnidr Heavy metal viking dentist GMC Elder

    Joined:
    Jun 21, 2016
    Posts:
    469
    Seems like I had an old runtime, it works properly now!

    EDIT:
    variable_global_exists seems to always return true now, even though the global variable is initialized after the function is executed?
    Code:
    if variable_global_exists("test")
    {
        exit;
    }
    global.test = true;
     
    Last edited: Jun 6, 2019
    Lonewolff likes this.
  17. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    690
    Nobody is gonna talk about this beauty?
     
    Japster likes this.
  18. Lonewolff

    Lonewolff Member

    Joined:
    Jan 8, 2018
    Posts:
    1,207
    Turning of sandboxing was the first thing in did back in 2013 :p
     
  19. nacho_chicken

    nacho_chicken Member

    Joined:
    Jun 21, 2016
    Posts:
    381
    While I do love the removal of the sandbox, I'm sure not going to congratulate them for reverting a removed feature.
     
    doom13 likes this.
  20. Petr Skornok

    Petr Skornok Member

    Joined:
    Sep 13, 2017
    Posts:
    44
    Has any progress been made on the issue where the game doesn't compile if it contains many assets (thousands of sprites and SFX) ending up with "Too many open files" Mono IO exception? It's been ongoing problem for the past 3 months which makes compiling our game very annoying, I've reported the issue multiple times. It compiles on 1 attempt out of 10, maybe based on the luck, good weather or Mono garbage collector?

    Let me refer to the open ticket: https://help.yoyogames.com/hc/en-us/requests/155811

    Thanks.
     
  21. Andrey

    Andrey Member

    Joined:
    Jun 21, 2016
    Posts:
    281
    a trifle, of course, but a little confusing...
    install_rt.jpg
     
    TheSnidr likes this.
  22. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    690
    @The Sorcerer
    @nacho_chicken
    Oh, I didn't know that it used to be non-sandboxed in the past, I joined GM just after it was added in I see, glad that it's out of our way now
     
  23. Lonewolff

    Lonewolff Member

    Joined:
    Jan 8, 2018
    Posts:
    1,207
    Nah, it wasn't. I made it unsandboxed.

    Nacho is probably referring to GM8 to GMS. I'm guessing.
     
  24. lolslayer

    lolslayer Member

    Joined:
    Jun 23, 2016
    Posts:
    690
    explains
     
  25. Ricardo

    Ricardo Member

    Joined:
    Jun 20, 2016
    Posts:
    189
    I've reported a few bugs related to this release, but what's really bothering me is a HTML5 crash I can't isolate no matter what. It happens when moving from one room to another and is driving me crazy. Has anyone come across an error like this?
    [​IMG]
     
  26. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,556
    Start by running on F6 instead of F5. If the error comes from your code, the name will reveal itself in a longer prefixed form somewhere in the stack trace. If the error comes from the engine, it will keep looking more or less the same.

    From what the names look like around the point of the error, this looks a lot like an interoperability issue between persistence and layers.
     
  27. chmod777

    chmod777 Member

    Joined:
    Aug 26, 2016
    Posts:
    212
    I've checked this also, it's code from debug mode, so... runner issue.
    It seems to be related to persistent instances, so try to disable them just for testing.
     
  28. Ricardo

    Ricardo Member

    Joined:
    Jun 20, 2016
    Posts:
    189
    I am running it on debug mode (F6), and even so I can't track down the error to my code. That's why I can't manage to isolate the issue to fill a bug report.
    And yeah, I agree it seems like something about layers. I've been playing for hours with it to try to isolate the issue but I still have not got luck.
     
  29. Ricardo

    Ricardo Member

    Joined:
    Jun 20, 2016
    Posts:
    189
    Have you been able to isolate a case to properly report this issue?
     
  30. chmod777

    chmod777 Member

    Joined:
    Aug 26, 2016
    Posts:
    212
    Yes, when using instance_create_depth(x, y, depth, APersistentObject) and going to another room.
     
  31. Ricardo

    Ricardo Member

    Joined:
    Jun 20, 2016
    Posts:
    189
    Great! I just reproduced it here. Funny thing is I don't use instance_create_depth on the current project I'm having issues with, but I definitely move persistent objects between rooms.
     
  32. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    Please see the Beta Opt-In FAQ linked to at the top of all of these beta threads. Steam doesn't get Beta releases.
     
  33. JeffJ

    JeffJ Member

    Joined:
    Jun 20, 2016
    Posts:
    339
    @Dan

    About the local asset packages, does YoYoGames have any thoughts on this?

     
    Carbon likes this.
  34. chmod777

    chmod777 Member

    Joined:
    Aug 26, 2016
    Posts:
    212
    You can now prevent a whole HTML5 game to work by using the following advanced code:
    Code:
    window_set_cursor(cr_beam); 
     
    Samuel Venable likes this.
  35. Lonewolff

    Lonewolff Member

    Joined:
    Jan 8, 2018
    Posts:
    1,207
    I'm finding when I turn off file system sand boxing that retrieving the attributes of either files or directories are reporting incorrect results.

    Unless I am using these functions incorrectly. I have used my extension the past to break out of the sandbox.

    [​IMG]

    This is showing the two text documents as hidden, and the sys files not. And a bunch of the items marked as directories are not directories at all.

    Code:
    // Create
    
    var i = 0;
    
    var directoryName = file_find_first("C:\*",fa_directory);
    
    directoryArray[0] = "";
    
    while(directoryName != "")
    {
        directoryArray[i] = directoryName;
        directoryName = file_find_next();
        i++;
    }
    

    Code:
    // Draw
    
    var l=0;
    
    repeat(array_length_1d(directoryArray))
    {
        draw_text(20,l*12+20,"   " + string(directoryArray[l]));
      
        if(!file_attributes("C:\\" + string(directoryArray[l]), fa_directory))
            draw_text(20,l*12+20,"D ");
      
        if(file_attributes("C:\\" + string(directoryArray[l]), fa_hidden))
            draw_text(20,l*12+20," H ");
      
        l++;
    }
    
     
  36. Zhanghua

    Zhanghua Member

    Joined:
    Aug 3, 2017
    Posts:
    169
    I think it had some issue cause the dir "./" and "../" didn't shown yet.
     
  37. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    We accidentally raised some warnings to be errors on HTML5 and routed these errors through game_end(), so will get that sorted for the next beta release.


    Yup, we have this one in Mantis. Will be fixing for the next beta.


    No update dialog was designed/is currently planned, but I will add it to our suggestions list just now and we will discuss it further internally. These local asset packages were intended to be a quick export-and-pass-on-to-your-team-mate system. If you want to do updates and maintain version history, etc., then we would suggest you do actually want the Marketplace route, which offers all of that already.


    Is fixed now, will get this into the next beta release.


    Did 2.2.3 make this better on your machine, then? (I'm not actually sure where you're getting that info/impression from, as I didn't make that claim in the release notes, but as long as 2.2.3 works fine that's the main thing ;) )
     
    Last edited: Jun 10, 2019
    chmod777 likes this.
  38. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    I wasn't aware when I made the release notes, etc., but it turns out if you try to build Google Play Services you will realise you need an updated version of the asset to match the 2.2.3 runtime, and this extension was already on the Marketplace and awaiting publishing.

    I have now added a link to download the updated extension into the first post on this thread, and we will update the Marketplace version properly when 2.2.3 goes to Stable (or at least, closer to the time) - 2.2.2 and older can't build the new version, so we have to wait until 2.2.3 is ready and then update it for everyone at once.
     
    Last edited: Jun 10, 2019
    Guest likes this.
  39. nacho_chicken

    nacho_chicken Member

    Joined:
    Jun 21, 2016
    Posts:
    381
    I found the information on the bugtracker changlog. Bug 0030620 was marked as fixed in 2.2.3. Haven't updated as of yet, so I haven't been able to personally give it a try yet.
     
  40. Ricardo

    Ricardo Member

    Joined:
    Jun 20, 2016
    Posts:
    189
    The option is in File > Preferences > General Settings > Maximum framerate of the GameMaker Studio 2 editor.
     
  41. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    You guys are correct. It somehow bypassed our paperwork system, so I didn't know to add it to the release notes. Backs of hands will be slapped... (And the release notes will be updated for the next beta release.)

    Sorry for any confusion I caused ;)


    EDIT: The release notes were updated and the feature was added to the manual for Beta IDE v2.2.3.426.
     
    Last edited: Jun 21, 2019
    Kezarus and JeffJ like this.
  42. spinout

    spinout Member

    Joined:
    Jun 21, 2016
    Posts:
    65
    Anyone else having trouble building Android YYC in this build? Android VM works fine, YYC iOS works fine, but on Android it just gets stuck at [arm64-v8a] Install
     
  43. chmod777

    chmod777 Member

    Joined:
    Aug 26, 2016
    Posts:
    212
    I'm the one that made these reports, but you've missed to fix one: in HTML5, date_valid_datetime() still returns true for dates before 1/1/1970.
     
  44. rmanthorp

    rmanthorp YoYo Games Staff Admin YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    300
    We've opened our Beta channel to free trial users.
     
    Amon likes this.
  45. Guest

    Guest Guest

    That's odd... why?
     
  46. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    So they can confirm the startup crash fixes and those who have persistent startup issues can actually use GMS2 - that's the short answer.
     
  47. Gamerev147

    Gamerev147 Member

    Joined:
    Sep 12, 2016
    Posts:
    444
    I have a question about the Sandbox Off feature...
    If I turn sandbox off, does that mean I can write a script in a text file and import it on the fly to run in Game Maker?
    I know I could do this in GM8...
     
  48. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    No - the old functions which got removed when the sandbox was added back in 1.x are still removed. The sandbox change in 2.2.3 is simply that you can read/write files outside of the previously-restricted save area - we haven't restored all the dodgy functions for opening and closing CD drives, launching other applications, editing the registry, etc., which are in pre-YoYo versions of GameMaker ;)

    You can of course read in values from the text file and have your project code react accordingly, but execute_file() has not made a comeback.
     
  49. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
  50. Dan

    Dan YoYo Games Staff YYG Staff

    Joined:
    Apr 15, 2016
    Posts:
    344
    Thanks - added it now: https://bugs.yoyogames.com/view.php?id=31072

    If you haven't already, please report it to the Helpdesk and ensure you attach a sample project which causes this as well as a .txt file containing your entire compiler log, please.
     
    chmod777 likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice