Lua Function Call Exception

When I started the game this morning after building a car last night, when I clicked the Car Designer button on the main screen, I got this error message. I’ve never used the car designer before last night - this may be a known issue, but I thought I’d let you know.

I deleted my design wondering if it was a problem in the saved file and restarted Automation to have the same error when I clicked the Car Designer button again.

Exception: Lua Function Call: FixUpOrphanedCarsAndEngines FixUpOrphanedCarsAndEngines: scripts/shared/functional/COMMON/CDatabase_Main.lua:485: attempt to index a nil value

Stack Traceback

(1) metamethod C function ‘__index’
(2) Lua function ‘?’ at file ‘scripts/shared/functional/COMMON/CDatabase_Main.lua:485’ (best guess)
Local variables:
self = table: 0x01ae70677028 {SelectCompetitorTrimResultsStmt:table: 0x01ae7067c230, InsertUpdateCarProjectRegionStmt:table: 0x01ae7069d438 (more…)}
Game = table: 0x01ae55eb2400 {CarAI:table: 0x01ae706bc698, JobSystem:table: 0x01ae5ccb9838, Time:table: 0x01ae706790f8 (more…)}
SandboxCompany = table: 0x01ae706c4748 {Finances:table: 0x01ae706c4880, Database:table: 0x01ae70677028, Info:table: 0x01ae706c4f48 (more…)}
Models = table: 0x01ae6ba93e28 {}
Families = table: 0x01ae6ba99130 {}
Variants = table: 0x01ae6ba950b0 {1:4766C43D49B3406FCA342781C59D9A29}
(for generator) = C function: builtin#6
(for state) = table: 0x01ae6ba950b0 {1:4766C43D49B3406FCA342781C59D9A29}
(for control) = number: 1
_ = number: 1
VariantUID = string: “4766C43D49B3406FCA342781C59D9A29”
VariantInfo = table: 0x01ae6ba7f820 {ExhaustBypassValves:ExhaustBypassValvesNone_Name, AspirationBoostControl:Aspiration_Natural_Boost_Control_Name (more…)}
FamilyInfo = table: 0x01ae70185da8 {UID:E44140024755CDEFA93D73B5B96D1F44, BlockMaterial:EngBlockMat_AlSiL_Name (more…)}
ProjectUID = string: “BBA432DB433DE45E27D649852391DDAC”
(*temporary) = nil
(*temporary) = number: 9.1339e-312
(*temporary) = table: 0x01ae706c7358 {1:sqlite virtual machine (SELECT UID FROM EngineFacelifts WHERE EngineProjectUID = :UID ORDER BY InternalDays DESC LIMIT 1;) (more…)}
(*temporary) = table: 0x01ae7018da40 {UID:BBA432DB433DE45E27D649852391DDAC}
(*temporary) = table: 0x01ae7018dee0 {}
(*temporary) = C function: next
(*temporary) = table: 0x01ae706c7358 {1:sqlite virtual machine (SELECT UID FROM EngineFacelifts WHERE EngineProjectUID = :UID ORDER BY InternalDays DESC LIMIT 1;) (more…)}
(*temporary) = userdata: 0x7fff00000002
(*temporary) = string: “attempt to index a nil value”

BP Stack
Unable to display Script Callstack. Compile with DO_BLUEPRINT_GUARD=1

Does this error come back after you clear it, it does it stay cleared?

clear it? There’s an OK button I can click, I don’t know if that’s what you mean by “clear it”. If not, I’m not sure what you mean. I’ve clicked OK and every time I go out and back into the
Car Designer I get that error.

Yes, pressing OK clears the error and allows Automation to continue if it can.

This error only happens when you enter the Car Designer?

And the Engine Designer. Nowhere else I’ve seen.