When comparing UDK vs GameMaker Studio 2, the Slant community recommends GameMaker Studio 2 for most people. In the question“What are the best 2D game engines?” GameMaker Studio 2 is ranked 67th while UDK is ranked 73rd.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Large toolset
UDK has an extremely large toolset that allows creating almost anything without having to use a 3rd party tool or plugin.
Pro Triple A track record
UDK is an engine used by many big name companies for popular games such as the Gears of War series.
Pro Quick prototyping
Pro Good user interface
Pro Well-optimized engine
Pro Has a trial version (but limited functions, can't export)
Pro Many unofficial tutorials
Most GMS1 tutorials are fine for GMS2
Pro Highly customizable IDE
Although users must work within the IDE and editor, GMS2 has many options to customize the look and feel
Pro Good documentation
Pro Huge, generous community
Cons
Con Superseded by Unreal Engine 4
Con DevKit only runs on Windows
Even though UDK can deploy games to run on multiple platforms, including Mac, it does not feature support for development on Mac.
Con Limits games to FPS
UDK was originally developed for the FPS, "Unreal Tournament", and it certainly shows. While UDK is a very powerful engine, it takes quite a bit of work to make it do something other than an FPS.
Con Not the best scripting language out there
GML is just weird; if you want to learn programming, it is not the best because it teaches bad habits and has many odd shortcuts and shortcomings that won't transfer to a real language
Con HTML5 export is buggy, doesn't "just work"
Con Quite expensive
Windows ($100) + HTML5 ($140) + Mobile ($400) + UWP ($400) is $1,050, plus $800 anually for each console export separately. But doesn't do anything any of the free engines can't do, and the stability and tech support aren't great.
Con Unstable
Users frequently report crashes and hangs, particularly when working with assets, and the software uses a complicated underlying meta-file structure that may become corrupted and cannot be rebuilt
Con Limited support for OOP
Con Small development team
The core programming team is only 5-10 people, with about 30 employees total, so bug fixes can take a long time to be addressed, and there aren't many official tutorials