B1776. Nlua fuse error

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Nikel
Posts: 2296
Joined: Tue Mar 24, 2009 10:51 am

B1776. Nlua fuse error

Post by Nikel »

CMO hanged and had to close it with the task manager.

Not sure is the scenario or CMO engine.

Happened later in the ssave uploaded in this thread.


https://forums.matrixgames.com/viewtopic.php?t=414074

Code: Select all

26-11-2025 18:12:51!!!WARNING!!! EXCEPTION FUSE REACHED (x20 exceptions) FOR :  -- Bv1.09 Beta - Build 1776 -- [string "CachedChunk"]:9: attempt to index a nil value (local 'unit') -- Scen : Raven 21 Is Down, 1976 -- DB :  -- Exception: [string "CachedChunk"]:9: attempt to index a nil value (local 'unit')
Stack Trace:    at NLua.Lua.ThrowExceptionFromError(Int32 oldTop)
   at NLua.Lua.CallFunction(Object function, Object[] args, Type[] returnTypes)
   at NLua.LuaFunction.Call(Object[] args)
   at Adfs2QqMGUifo0Ac7CVE.qLd8ynxTUEn(Object , Object[] , Adfs2QqMGUifo0Ac7CVE )
   at Command_Core.LuaUtility.DoString_Optimized(Lua lua, String chunk, String chunkName)
   at Command_Core.Lua.LuaSandBox.RunScript(String str, Boolean RunInteractively, String script, String fullPath)
   at Command_Core.EventAction_LuaScript.Execute(Scenario thescen, SimEvent theEv)
Call Stack & Error details: 
Error at 101316: 
Last edited by Nikel on Wed Nov 26, 2025 5:35 pm, edited 1 time in total.
User avatar
blu3s
Posts: 1163
Joined: Fri Jul 08, 2022 9:45 am

Re: B1776. Nlua fuse error

Post by blu3s »

That's a lua script error
Nikel
Posts: 2296
Joined: Tue Mar 24, 2009 10:51 am

Re: B1776. Nlua fuse error

Post by Nikel »

blu3s wrote: Wed Nov 26, 2025 5:34 pm That's a lua script error

Thanks for the answer.

The scenario is broken then?
User avatar
blu3s
Posts: 1163
Joined: Fri Jul 08, 2022 9:45 am

Re: B1776. Nlua fuse error

Post by blu3s »

I'm not sure what the scen is trying to do but the error is here:

attempt to index a nil value (local 'unit')

Maybe some event firing at a specific time?
Nikel
Posts: 2296
Joined: Tue Mar 24, 2009 10:51 am

Re: B1776. Nlua fuse error

Post by Nikel »

Finished the scenario with a major victory, 2200 points.

Destroying the wreckage of the AC will give you 1000 points, however only 50 for rescuing the crew?

What was in the AC, alien technology? :shock:


PE.png
PE.png (40.99 KiB) Viewed 28 times


There are some glitches, but the main problem is this NLua error.

It happened another two times and CMO hangs.

As this is an official scenario is enough with this report to get a fix?
User avatar
blu3s
Posts: 1163
Joined: Fri Jul 08, 2022 9:45 am

Re: B1776. Nlua fuse error

Post by blu3s »

Nikel wrote: Thu Nov 27, 2025 10:54 am As this is an official scenario is enough with this report to get a fix?
Sure, making a ticket about it ;) (I was not familiar with this one)

Do you have an estimate sim date of when this is happening in the scenario?
Nikel
Posts: 2296
Joined: Tue Mar 24, 2009 10:51 am

Re: B1776. Nlua fuse error

Post by Nikel »

I will investigate.

Would it not be useful to print it in the exception log?

Right now it is printed the date of when you are playing it, not the scenario time.

Code: Select all

26-11-2025 18:12:51!!!WARNING!!! EXCEPTION FUSE REACHED (x20 exceptions) FOR :  -- Bv1.09 Beta - Build 1776 -- [string "CachedChunk"]:9: attempt to index a nil value (local 'unit') -- Scen : Raven 21 Is Down, 1976 -- DB :  -- Exception: [string "CachedChunk"]:9: attempt to index a nil value (local 'unit')
Post Reply

Return to “Tech Support”