The game crashes with a LUA error related to ambientlighting.lua whenever a lightning strike happens.
This issue occurs in different scenarios:
- When I play solo.
- When I host my own world.
- Even when I join someone else’s hosted world.
I always play without any mods. The servers I join are also completely vanilla (no server or client mods).
I already tried reinstalling the game and performing "Verify integrity of game files" on Steam, but the crash still happens.
Error log:
[string "scripts/components/ambientlighting.lua"]:197: attempt to perform arithmetic on upvalue '_flash_str_setting' (a nil value)
LUA ERROR stack traceback:
scripts/components/ambientlighting.lua:197 in (upvalue) calc_flash (Lua) <196-199>
scripts/components/ambientlighting.lua:221 in (local) fn (Lua) <201-224>
scripts/entityscript.lua:1238 in (method) PushEvent_Internal (Lua) <1225-1254>
scripts/entityscript.lua:1257 in (method) PushEvent (Lua) <1256-1258>
scripts/prefabs/player_classified.lua:692 in (local) fn (Lua) <690-694>
scripts/entityscript.lua:1238 in (method) PushEvent_Internal (Lua) <1224-1254>
scripts/entityscript.lua:1257 in (method) PushEvent (Lua) <1256-1258>
scripts/mainfunctions.lua:549 in () ? (Lua) <546-551>
**Attached files:**
- `DxDiag.txt` (hardware and system info)
- `client_log.txt` (game log file)
- master_server_log.txt
- caves_server_log.txt
- Screenshot of the crash and lightning strike
DxDiag.txt client_log.txt master_server_log.txt caves_server_log.txt
1. Launch the game (Steam, Windows 10).
2. Host a world, play solo, or join another player’s hosted world (no mods involved).
3. Wait until a lightning strike happens (it doesn’t need to hit the player directly, it can strike anywhere in the world).
4. As soon as the lightning strikes, the game crashes with the error above.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now