mrSkortch / MissionScriptingTools

Mission Scripting Tools for Digital Combat Simulator
GNU General Public License v3.0
195 stars 42 forks source link

attempt to index field 'unitsByName' (a nil value) at launch of version 4.5.121 #87

Closed ChaosRifle closed 12 months ago

ChaosRifle commented 12 months ago

Updated mist from version 4.5.107 to 4.5.121 and launching the mission with the new version of mist returns an error excerpt from my logs with the updated mist version (and no other changes).

2023-11-22 04:14:30.582 INFO SCRIPTING (Main): Chaos Log: Loading: mist.lua 2023-11-22 04:14:30.616 ERROR SCRIPTING (Main): Mission script error: [string "C:/Users/Chaos/Downloads/DCS LUA scripts/mist.lua"]:133: attempt to index field 'unitsByName' (a nil value)

mrSkortch commented 12 months ago

Try that version. https://github.com/mrSkortch/MissionScriptingTools/tree/development

ChaosRifle commented 12 months ago

yup, 4.5.122 loads great, no issues off the bat either. Thanks