Game crashes after rnd time
-
Hi,
i installed FA and FAF on my new PC and now FA crashes in every game. Sometimes after a few minutes, sometimes after 30 minutes.
I have the feeling, that it always happen when iam zooming in.
I will post the log-file here.
If i understand it, the game can´t find an unknown texture and then it crashed.game_20199683.logWould be nice, if someone has an idea how to fix this.
Last lines in the log are:warning: Error running OnRelease script in <deleted object>: ...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(101): Game object has been destroyed
stack traceback:
[C]: in function `Play'
...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(101): in function <...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua:94>
debug: Current gametime: 00:24:30 -
With the last update i experience the same. Never now when it will crash, with or without mods 30 minutes or 1 hour..
Errors that i see in the log are not clear. Game crashes and shows color on the screen have to turn my PC off the get it running again.
warning: Error running lua script: number expected but got nil stack traceback: [C]: in function `VDist2' ...orever\gamedata\lua.nx2\lua\ai\aiattackutilities.lua(1203): in function `PlatoonGenerateSafePathTo' ...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(5971): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua:5877> warning: Error running /lua/sim/tasks/EnhanceTask.lua script in CScriptObject at 28532330: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(2859): attempt to perform arithmetic on field `BuildCostEnergy' (a nil value) warning: Error running /lua/sim/tasks/EnhanceTask.lua script in CScriptObject at 24553870: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(2859): attempt to perform arithmetic on field `BuildCostEnergy' (a nil value) stack traceback: ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(2859): in function `CreateEnhancementEffects' ...gramdata\faforever\gamedata\lua.nx2\lua\sim\unit.lua(2735): in function `OnWorkBegin' ...data\faforever\gamedata\lua.nx2\lua\defaultunits.lua(2810): in function `OnWorkBegin' ...rever\gamedata\lua.nx2\lua\sim\tasks\enhancetask.lua(46): in function <...rever\gamedata\lua.nx2\lua\sim\tasks\enhancetask.lua:38> warning: Error running lua script: ...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(4087): attempt to call method `GetLocationCoords' (a nil value) stack traceback: ...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(4087): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua:4077> warning: Error running OnLostTarget script in CScriptObject at 24e97490: ...amdata\faforever\gamedata\lua.nx2\lua\sim\weapon.lua(240): Game object has been destroyed stack traceback: [C]: in function `SetEnabled' ...amdata\faforever\gamedata\lua.nx2\lua\sim\weapon.lua(240): in function `AimManipulatorSetEnabled' ...aforever\gamedata\lua.nx2\lua\sim\defaultweapons.lua(691): in function `OnEnterState' ...data\faforever\gamedata\lua.nx2\lua\system\class.lua(773): in function `ChangeState' ...aforever\gamedata\lua.nx2\lua\sim\defaultweapons.lua(646): in function <...aforever\gamedata\lua.nx2\lua\sim\defaultweapons.lua:635> warning: Error running lua script: ...amedata\lua.nx2\lua\editor\sorianbuildconditions.lua(626): Attempt to set attribute 'Air' on nil stack traceback: [C]: in function `error' ...ata\faforever\gamedata\lua.nx2\lua\system\config.lua(14): in function <...ata\faforever\gamedata\lua.nx2\lua\system\config.lua:13> ...amedata\lua.nx2\lua\editor\sorianbuildconditions.lua(626): in function `?' ...\gamedata\lua.nx2\lua\sim\brainconditionsmonitor.lua(327): in function `CheckCondition' ...\gamedata\lua.nx2\lua\sim\brainconditionsmonitor.lua(217): in function <...\gamedata\lua.nx2\lua\sim\brainconditionsmonitor.lua:203>
Update
Had some succesfull sessions today with normal maps. with some mods and m27 AI (currently sorian AI is gone after a crash)Blacksun revamp crashes after 30 minutes with this error. Maybe has something todo with revealing the rest of the map.
debug: Current gametime: 00:29:30 info: ## BBF ## ## Gate4 ## Wave 83 (count=7) next wave in 38 seconds (1826) warning: Error running lua script: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): attempt to perform arithmetic on local `experience' (a nil value) stack traceback: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): in function `AddVetExperience' ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(694): in function `SetVeterancy' ...nse_revamp.v0001\black_sun_defense_revamp_script.lua(1264): in function <...nse_revamp.v0001\black_sun_defense_revamp_script.lua:1253> warning: Error running lua script: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): attempt to perform arithmetic on local `experience' (a nil value) stack traceback: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): in function `AddVetExperience' ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(694): in function `SetVeterancy' ...nse_revamp.v0001\black_sun_defense_revamp_script.lua(1264): in function <...nse_revamp.v0001\black_sun_defense_revamp_script.lua:1253> info: ## BBF ## ## Gate6 ## Wave 83 (count=4) next wave in 57 seconds (1853) debug: Current gametime: 00:30:00 warning: Error running lua script: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): attempt to perform arithmetic on local `experience' (a nil value) stack traceback: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): in function `AddVetExperience' ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(694): in function `SetVeterancy' ...nse_revamp.v0001\black_sun_defense_revamp_script.lua(1264): in function <...nse_revamp.v0001\black_sun_defense_revamp_script.lua:1253> info: ## BBF ## ## Gate3 ## Wave 83 (count=8) next wave in 43 seconds (1846) warning: Error running lua script: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): attempt to perform arithmetic on local `experience' (a nil value) stack traceback: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): in function `AddVetExperience' ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(694): in function `SetVeterancy' ...nse_revamp.v0001\black_sun_defense_revamp_script.lua(1264): in function <...nse_revamp.v0001\black_sun_defense_revamp_script.lua:1253> warning: Error running lua script: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): attempt to perform arithmetic on local `experience' (a nil value) stack traceback: ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(612): in function `AddVetExperience' ...faforever\gamedata\lua.nx2\lua\defaultcomponents.lua(694): in function `SetVeterancy' ...nse_revamp.v0001\black_sun_defense_revamp_script.lua(1264): in function <...nse_revamp.v0001\black_sun_defense_revamp_script.lua:1253>
With the normal blacksun map no crash today although the health of the gates is al lot lower, one bomber and the gate is gone.