Natural Selection 2

Unknown Worlds Entertainment · Shooter

Natural Selection 2 patch notes · Sep 16, 2016

Experiment

Build 308 Now Live on Steam!

What's new in Build 308 Now Live on Steam!: 16 changes to Natural Selection 2, released Sep 16, 2016.

Content · 1

  • Added an ErrorCallback Lua event that fires on every Lua error, passing the error message as the first argument.

    errorcallback lua event

System · 6

  • String operations were improved, which helps the GUI code.

    string operation performance
  • Switched to JIT specialized table functions.

    table function performance
  • Removed out-of-date and unusable model source assets, reducing the install footprint by roughly 1.3GB; the files remain on the build_307 Steam branch.

    install footprint
  • A crash dump is now always saved before the report dialogue is shown, and a command line switch enables a full dump if requested.

    crash dump saving
  • More code is now jittable, making the game run slightly faster on average.

    jit compilation coverage
  • LuaJIT was upgraded to Version 2.1.

    luajit runtime version

UI · 2

  • An icon now flashes on screen when a client encounters a script error.

    script error indicator
  • Added a display_errors console command that shows a popup on script errors, also activatable via the -debug launch option.

    script error popup

Fix · 7

  • Fixed a script error when Alien Commander failed to place a Cyst.

    script error on cyst placement
  • Fixed Trace object field access unintentionally always failing to JIT.

    trace object field access jit failure
  • Fixed rifles sometimes causing a script error because their cinematics were already destroyed.

    rifle cinematic script error
  • Fixed a script error when Alien Commander failed to place a Drifter.

    script error on drifter placement
  • Fixed a script error when a ViewModel's parent entity had been destroyed.

    script error on destroyed parent entity
  • Fixed a script error caused by code not expecting nil entries in an entity list.

    script error on nil entity list entry
  • Fixed a script error caused by entering the hive after activating xenocide.

    script error on hive entry after xenocide