Bug Report: Open Alpha Build 250313.35087.7277 - AI Generation Fails


Ever since the update, I’ve gotten this with the following LUA error every time I go to create a vehicle using the Automatic (or AI) generation. This bug is easily replicatable every time.

Following is the LUA error code that is outputted when trying to view the failed generation:

===============
(1) metamethod C function '__index'
(2) Lua function '?' at file 'scripts/shared/functional/COMMON/CDatabase_Cars.lua:1429' (best guess)
    Local variables:
     self = table: 0x024d8b9f1208  {UpdateTrimSlotTrim:table: 0x024d8ba1e0d0, InsertUpdateCarProjectRegionStmt:table: 0x024d8ba1edf8 (more...)}
     TrimUID = string: "A3F46A8E48BCF67D96EA50879C5B373F"
     trimInfo = nil
     (*temporary) = number: 1.25101e-311
     (*temporary) = table: 0x024d8b9f1208  {UpdateTrimSlotTrim:table: 0x024d8ba1e0d0, InsertUpdateCarProjectRegionStmt:table: 0x024d8ba1edf8 (more...)}
     (*temporary) = string: "A3F46A8E48BCF67D96EA50879C5B373F"
     (*temporary) = nil
     (*temporary) = nil
     (*temporary) = string: "attempt to index local 'trimInfo' (a nil value)"

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

Thanks for the report, we’ll have a look into this to see if we can replicate this on our end.