Failed to load mods: ...tructron-Continued__/data/constructron_pathing_proxy.lua:134: attempt to perform arithmetic on field '?' (a nil value)
Hi
I have the following error preventing the game to load:
Failed to load mods: ...tructron-Continued__/data/constructron_pathing_proxy.lua:134: attempt to perform arithmetic on field '?' (a nil value)
stack traceback:
...tructron-Continued__/data/constructron_pathing_proxy.lua:134: in main chunk
[C]: in function 'require'
__Constructron-Continued__/data-final-fixes.lua:2: in main chunk
Hi
Unfortunately the stake trace does not tell me much, would you be able to follow a process of elimination and work out which mod in combination with Constructron caused this issue?
I tried to do that. Usually it works, but in this case it was quite annoying.
It seemed that I finally managed to narrow it down to 1 mod that if loaded with Constructron-Continued_2.0.30 causes the error.
But then I tried to load only those 2 mods together and the error didn't come up.
Now I think that some mod combination causes the error, not just 1 mod + Constructron-Continued_2.0.30.
This means that I probably won't be able to figure it out because of too many combinations. Sadly I have lots of mods and it takes minutes for the game to start.
I don't have coding knowledge. Would it be possible to place some debug code into Constructron-Continued_2.0.30 so it displays more information?
Edit: Some data I can provide and might be helpful:
The mod ‘UPSFriendlyNixieTubeDisplayFixed_0.2.9‘ might have something to do with the error. All my mods including ‘UPSFriendlyNixieTubeDisplayFixed_0.2.9‘ + ‘Constructron-Continued_2.0.30‘ causes the error. All mods Oncluding ‘Constructron—Continued_2.0.30‘) except ‘UPSFriendlyNixieTubeDisplayFixed_0.2.9‘ works. Only ‘UPSFriendlyNixieTubeDisplayFixed_0.2.9‘ + ‘Constructron-Continued_2.0.30‘ + ‘flib_0.16.2‘ (required for Nixie) also works.
So it seems that ‘UPSFriendlyNixieTubeDisplayFixed_0.2.9‘ and some other mod(s) in combination causes the error in ‘Constructron—Continued_2.0.30‘.
Unfortunately I don't think there isn't much possibility on your suggestion in data stage but the issue is rather odd as this is the line that is erroring indicates that a prototype has no collision box.
https://github.com/ILLISIS/Constructron-Continued/blob/0cfe946ced0f1976dcdf9c47c237a79de32f8a2d/data/constructron_pathing_proxy.lua#L134
If you can get a significantly cut down and reproducible method, I should be able to work with it.
I edited my above comment with some data, hopefully that helps.
try this;
load in with all but Constructron and then see what is editing the nixie mod entities
This is what the tooltip of a nixie tube looks like with all my mods except Constructron. But loading only these mods and Constructron the error doesn't appear.