Garry's Mod Logo
schedule 04 January 2024
Update

Holiday Patches

An aggregate news post about the few recent patches.

Rubat
Programmer
Estonia
Over the last 2-3 weeks we have released a bunch of minor patches to the main game. The primary focus of these patches were security fixes reported to us, as well as regression fixes after those security patches.

If you wish to report a security issue with the game, please visit the following link:
handyman

Fixed

  • Fixed certain security issues
arrow_circle_up

Improvements

  • Display addons in red in "Addons" menu when they contain invalid files (and therefore not mounted/working)
  • Improvements to Garry's Mod's save system to prevent weird behavior, such as saves loading on wrong maps
handyman

Fixed

  • Fixed even more security issues
  • Fixed playing a demo not starting a loading screen
  • Fixed some crashes to do with engine light styles
remove_circle

Removed

  • Removed following Lua API functions: ConsoleAutoComplete (menu), Panel.Command, Panel.SetActionFunction, Panel.SetPaintFunction, Panel.PostMessage, Panel.SetCommand, PANEL:ActionSignal, GM:LoadGModSaveFailed (clientside) - These were legacy functions and this is a good opportunity to finally remove them
add_circle

Features

  • Added PANEL:OnTextClicked( id ) for RichText
handyman

Fixed

  • Temporarily restored PANEL:ActionSignal for RichText
  • Temporary measures for addons that fail to load due to "failed to parse addon file"
  • Minor security fixes
handyman

Fixed

  • Fixes towards certain files not loading from inside maps
  • More security fixes
  • Fixed key binds being lost if they contain semicolons (;)
arrow_circle_up

Improvements

  • Made "Entity thinking for X ms!!!" physics warning to only appear when "developer" is set to "1" or above
handyman

Fixed

  • Fixed saves really not working on maps with spaces in their names
  • Fixed a number of security issues reported over the holidays
  • Fixed addon file paths being lowercased before being mounted, causing issues for Linux users
  • Allowed color correction files (materials/*.raw) and vehicle scripts (scripts/vehicles/*.txt) in map files
add_circle

Features

  • Made GM:OnLuaError available on client and server
  • Added overflow/underflow safeguards to render.Push/PopRenderTarget functions
arrow_circle_up

Improvements

  • Made Entity.PhysicsInitMultiConvex throw type errors when given invalid input
  • Shutdown HTML after VGUI - hopefully fixes a rare crash on game exit
  • Blocked access to .db files via the file library
  • Added safeguards against malformed .gma files
handyman

Fixed

  • Made the BSP whitelist case insensitive
  • Made LuaMesh.BuildFromTriangles correctly modify the mesh when used on an already generated mesh - This is now only permitted when the vertex count matches between existing mesh, and the new mesh.
  • Fixed several security issues reported on HackerOne
remove_circle

Removed

  • Removed unused DLLs from game's folder - bugreporter.dll, sixense.dll, headtrack_oculus.dll
handyman

Fixed

  • Fixed crash with npc_satchel
  • Fixed crash when try to push a NULL ITexture
  • Fixed a crash when failing to create a fish entity
  • Fixed a crash when failing to create child ents for point_spotlight
  • Fixed crashes when failing to create entities for fire entity
  • Fixed Gravity Gun leaking material reference count
  • Fixed crashes with deleting ai_network entity
  • Bumped "insane reference count" threshold 10x