Page 1 of 1

Fatal Crash - Unhandled exception

PostPosted: 24 Sep 2018, 23:39
by slinki
Not a good start. Very first time playing FAF. Just loaded the game from "C:\ProgramData\FAForever\bin\ForgedAlliance.exe"

Everything was working fine. I chose my map etc etc. The game was loading and then just before my commander appeared, it crashed. See log below.

Code: Select all
Unhandled exception:

state->m_rootState == m_state

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments :

Callstack:
   Unknown symbol (address 0x008d462c)

Last 100 lines of log...

warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(46): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/construction.lua'
warning: stack traceback:
warning:         [C]: in function `error'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...forever\gamedata\lua.nx2\lua\ui\game\commandmode.lua(10): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...commander forged alliance\mods\hotbuild\hotbuild.lua(5): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(12): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(46): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/commandmode.lua'
warning: stack traceback:
warning:         [C]: in function `error'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...commander forged alliance\mods\hotbuild\hotbuild.lua(5): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...ever\gamedata\lua.nx2\lua\keymap\keydescriptions.lua(434): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(12): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(46): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/hotbuild/hotbuild.lua'
warning: stack traceback:
warning:         [C]: in function `error'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...ever\gamedata\lua.nx2\lua\keymap\keydescriptions.lua(434): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(12): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(46): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/keymap/keydescriptions.lua'
warning: stack traceback:
warning:         [C]: in function `error'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(12): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(46): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/keymap/keymapper.lua'
warning: stack traceback:
warning:         [C]: in function `error'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
warning:         ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(46): in main chunk
warning:         [C]: in function `doscript'
warning:         [C]: in function `pcall'
warning:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
warning: Error importing /lua/ui/game/gamemain.lua:
         Error importing '/lua/ui/game/gamemain.lua'
         stack traceback:
            [C]: in function `error'
            ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
warning: Error running '/lua/ui/game/gamemain.lua:OnBeat': attempt to index a nil value
         stack traceback:



Anyone any idea what It could be?

Thanks.

Re: Fatal Crash - Unhandled exception

PostPosted: 25 Sep 2018, 00:07
by Geosearchef
Log says 'Error importing ....' which leads me to believe it cannot access/find the file in question (the .lua file). Which client are you using?