Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Firstly, incredible job on this map it is amazing. That being said I am getting an error that is crashing the game. 

D:\auto_builder\cache\svn\b68cb144d6e2160d8eaba7cac57c4336\src\base\scripting\lua\LuauScriptSystem.cpp (1105): expectedType == Value::VoidType || expectedType == Value::ClassType2025-06-17 11:50:15.623 

Script error: 'localToLocal': Argument 1 has wrong type. Expected: Int. Actual: Nil

LUA call stack:

  =[C]:-1 localToLocal

  =dataS/scripts/vehicles/ai/AIDriveStrategyFieldCourse.lua:280 update

  =dataS/scripts/vehicles/specializations/AIFieldWorker.lua:307 onUpdate

  =dataS/scripts/specialization/SpecializationUtil.lua:56 raiseEvent

  =dataS/scripts/vehicles/Vehicle.lua:2006 update

  =dataS/scripts/network/NetworkNode.lua:181 updateActiveObjects

  =dataS/scripts/network/Server.lua:64 update

  =dataS/scripts/BaseMission.lua:1019 update

  =dataS/scripts/FSBaseMission.lua:1925 update

  =dataS/scripts/mission00.lua:663 update

  =dataS/scripts/main.lua:1226 update

2025-06-17 11:50:15.623 Error: Running LUA method 'update'.

dataS/scripts/vehicles/ai/AIDriveStrategyFieldCourse.lua:286: attempt to perform arithmetic (add) on number and nil

2025-06-17 11:50:15.646 Warning (script): 'localToLocal': Argument 1 has wrong type. Expected: Int. Actual: Nil

Hi there, I reloaded and started a new save of the map and after several hours of gameplay the same error happened again. Can anyone help here? I'm at a loss and I really love this map.