When trying to create a new mission, I encountered this error:
Version: 2.4.1.0
Date: 12/10/2015 11:31:57 AM
UnitSyncException
Unable to read defs.lua: [string "gamedata/defs.lua"]:38: [string "gamedata/defs.lua"]:26: error
2, gamedata/unitDefs.lua, error
2, gamedata/unitdefs_post.lua, error
2, gamedata/modularcomms/unitdefgen.lua, error
2, gamedata/modularcomms/clonedefs.lua, [string "LuaRules/Utilities/tablefunctions.lua"]:6: bad argument #1 to 'pairs' (table expected, got nil)
at CMissionLib.UnitSyncLib.UnitSync.ReadUnits()
at CMissionLib.UnitSyncLib.UnitSync.GetMod(String modName)
at MissionEditor2.WelcomeDialog.LoadMod(UnitSync unitSync, String modName)
at MissionEditor2.WelcomeDialog.<>c__DisplayClass23.<PromptForNewMission>b__1c()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Can anyone help?