Unsolved Building Architect: Export error

Discussion in 'World Editor' started by stuffi3000, Apr 15, 2025.

  1. stuffi3000

    stuffi3000
    Expand Collapse

    Joined:
    Feb 6, 2022
    Messages:
    42
    Hi everyone,

    I hope you're all doing well

    I'm experiencing issues with the new buildings editor.

    When trying to export a building I have created, the export function does not work and throws the following lua error in the log:
    =============== Stack Traceback >> START >>
    (1) metamethod C function '__index'
    (2) Lua local 'cb' at line 1217 of chunk '/lua/ge/extensions/editor/gen/world.lua'
    w = table: 0x01a586eaece8 {pillar:table: 0x01a302bbe6e0, pos:cdata: (...), doorind:3, df:table: 0x01a30aeeb280, balcony:table: 0x01a391a9ade0, win:/art/shapes/common/building_architect_modules/windows/R_HS_B_WN_03_120x150.dae, ij:table: 0x01a46e201ea8, door:/art/shapes/common/building_architect_modules/doors/R_HS_B_DR_03_100x210.dae, avplus:table: 0x01a4b7044778, id:36030, winspace:4, storefront:table: 0x01a3034b04c8, uvref:table: 0x01a42882c138, doorwidth:1.328081202507, u:cdata: (...), achild:table: 0x01a4e2db9d10, winbot:0.8346883058548, mat:m_stucco_white_bat, agrid:table: 0x01a4b3ecf618, uv:table: 0x01a29afaa520, v:cdata: (...), arc:table: 0x01a4e2bfb2e0, uvscale:table: 0x01a586e70320, doorbot:0.001, winleft:0.5, hidden:false (more...)}
    ij = table: 0x01a4b2e2e3e8 {1:2, 2:1}
    (for generator) = C function: next
    (for state) = table: 0x01a30aeeb280 {/art/shapes/common/building_architect_modules/doors/R_HS_A_DR_01_210x235.dae:table: 0x01a4b3f5b938, /art/shapes/common/building_architect_modules/doors/R_HS_A_DR_02_130x230.dae:table: 0x01a4b3f5bac0, /art/shapes/common/building_architect_modules/doors/R_HS_A_DR_05_210x210.dae:table: 0x01a30d5cbdc0, /art/shapes/common/building_architect_modules/windows/R_HS_A_WN_01_70x70.dae:table: 0x01a30d5cbf70, /art/shapes/common/building_architect_modules/doors/R_HS_A_DR_01_130x215.dae:table: 0x01a302c263d8, /art/shapes/common/building_architect_modules/doors/R_HS_A_DR_05_210x240.dae:table: 0x01a41aa0c2c8, /art/shapes/common/building_architect_modules/doors/R_HS_A_DR_01_80x200.dae:table: 0x01a41aa0c478, /art/shapes/common/building_architect_modules/doors/R_HS_B_DR_03_130x220.dae:table: 0x01a4e2f84a28 (more...)}
    (for control) = userdata: (...)
    pth = string[76]: "/art/shapes/common/building_architect_modules/windows/R_HS_A_WN_01_70x70.dae"
    list = table: 0x01a30d5cbf70 {scale:1}
    (for generator) = C function: next
    (for state) = table: 0x01a30d5cbf70 {scale:1}
    (for control) = userdata: (...)
    _ = string[5]: "scale"
    id = number: 1
    (*temporary) = nil
    (*temporary) = number: 0
    (*temporary) = number: 1
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = <failed to get printable value>: 'expect userdata, got table' {1:table: 0x01a2cd929ab8, 2:table: 0x01a2cd929b00, 3:<failed to get printable value>: 'expect userdata, got table', 4:function: 0x01a2cd89c2b8, idAt:function: 0x01a2cd8b71e8, getCount:function: 0x01a2cda36d00, sortByName:function: 0x01a2cd8b6fc8, isSubClassOf:function: 0x01a2cd89aa98, isNameChangeAllowed:function: 0x01a2cda34040, getFieldsForEditor:function: 0x01a2cd899930, getDynamicFields:function: 0x01a2cd89c5d8, 7:function: 0x01a2cd89c4d0, 6:function: 0x01a2cd89c1a8, 5:function: 0x01a2cd89c3c8, setCanSave:function: 0x01a2cd89eca8, getScenetreeData:function: 0x01a2cd8b75f0, getRenderTargetSize:function: 0x01a2cda18bd8, at:function: 0x01a2cd8b6b78, serializeToDirectories:function: 0x01a2cd89dca8 (more...)}
    (*temporary) = string[6]: "0.0005"
    (*temporary) = number: 8.88948e-312
    (*temporary) = string[25]: "$LightRayPostFX::exposure"
    (*temporary) = number: 5.2371e-322
    (*temporary) = userdata: (...)
    (*temporary) = string[28]: "attempt to index a nil value"
    (3) Lua upvalue 'forBuilding' at line 1122 of chunk '/lua/ge/extensions/editor/gen/world.lua'
    desc = table: 0x01a3a7289158 {basement:table: 0x01a4b2eb9130, data:table: 0x01a4e30e5668, acorner_:table: 0x01a4b67fee08, afloor:table: 0x01a42a2ef170, pos:cdata: (...), id:36010, df:table: 0x01a3c992a320}
    cb = Lua function '?' (defined at line 1210 of chunk /lua/ge/extensions/editor/gen/world.lua)
    ij = table: 0x01a30afc8210 {1:2}
    aij = nil
    dbg = nil
    forscope = boolean: false
    cfloor = number: 2
    aijside = nil
    (for generator) = C function: next
    (for state) = table: 0x01a42a2ef170 {1:table: 0x01a42a2ef1e0, 2:table: 0x01a4192bb160}
    (for control) = userdata: (...)
    i = number: 2
    f = table: 0x01a4192bb160 {update:false, top:table: 0x01a38c52a130, awall:table: 0x01a586eaec78, ij:table: 0x01a46e201d08, base:table: 0x01a39266cac0, awplus:table: 0x01a4b37f2408, h:3.7999999523163, pos:cdata: (...)}
    (for generator) = C function: next
    (for state) = table: 0x01a586eaec78 {1:table: 0x01a586eaece8, 2:table: 0x01a2cef28e58, 3:table: 0x01a4b3ab8900, 4:table: 0x01a4b36b28f8}
    (for control) = userdata: (...)
    j = number: 1
    w = table: 0x01a586eaece8 {pillar:table: 0x01a302bbe6e0, pos:cdata: (...), doorind:3, df:table: 0x01a30aeeb280, balcony:table: 0x01a391a9ade0, win:/art/shapes/common/building_architect_modules/windows/R_HS_B_WN_03_120x150.dae, ij:table: 0x01a46e201ea8, door:/art/shapes/common/building_architect_modules/doors/R_HS_B_DR_03_100x210.dae, avplus:table: 0x01a4b7044778, id:36030, winspace:4, storefront:table: 0x01a3034b04c8, uvref:table: 0x01a42882c138, doorwidth:1.328081202507, u:cdata: (...), achild:table: 0x01a4e2db9d10, winbot:0.8346883058548, mat:m_stucco_white_bat, agrid:table: 0x01a4b3ecf618, uv:table: 0x01a29afaa520, v:cdata: (...), arc:table: 0x01a4e2bfb2e0, uvscale:table: 0x01a586e70320, doorbot:0.001, winleft:0.5, hidden:false (more...)}
    tocall = boolean: true
    (4) Lua field 'daeExport' at line 1210 of chunk '/lua/ge/extensions/editor/gen/world.lua'
    mat = nil
    f2m = Lua function '?' (defined at line 1189 of chunk /lua/ge/extensions/editor/gen/world.lua)
    desc = table: 0x01a3a7289158 {basement:table: 0x01a4b2eb9130, data:table: 0x01a4e30e5668, acorner_:table: 0x01a4b67fee08, afloor:table: 0x01a42a2ef170, pos:cdata: (...), id:36010, df:table: 0x01a3c992a320}
    aid = table: 0x01a4b3c144d0 {}
    afi = table: 0x01a3a72c72c8 {}
    id = number: 0
    (5) Lua field 'onVal' at line 17415 of chunk '/lua/ge/extensions/editor/gen/world.lua'
    key = string[10]: "dae_export"
    val = string[6]: "Export"
    sval = string[6]: "Export"
    dae = nil
    desc = table: 0x01a3a7289158 {basement:table: 0x01a4b2eb9130, data:table: 0x01a4e30e5668, acorner_:table: 0x01a4b67fee08, afloor:table: 0x01a42a2ef170, pos:cdata: (...), id:36010, df:table: 0x01a3c992a320}
    (6) Lua upvalue 'buttonT' at line 559 of chunk '/lua/ge/extensions/editor/gen/ui.lua'
    text = string[6]: "Export"
    key = string[10]: "dae_export"
    ctxt = cdata: (...)
    cbg = cdata: (...)
    dim = cdata: (...)
    center = boolean: true
    shift = number: -4
    (7) Lua field 'control' at line 739 of chunk '/lua/ge/extensions/editor/gen/ui.lua'
    list = table: 0x01a4b38c33c0 {1:- NONE -, 2:m_plaster_worn_01_bat, 3:m_stonebrick_mixed_02_bat, 4:m_stonewall_damaged_01_bat, 5:m_stucco_scraped_01_bat, 6:m_stonebrick_eroded_01_bat, 7:m_greybox_base_bat, 8:m_plaster_float_bat, 9:m_concrete_cinderblock_01_bat, 10:m_bricks_01_bat, 11:m_stonebrick_mixed_01_bat, 12:m_plaster_raw_dirty_01_bat, 13:m_stucco_white_bat}
    w = table: 0x01a2ba01c548 {ifTopRect:function: 0x01a4b6a17a28, keyShift:function: 0x01a4b6b1ff40, onUpdate:function: 0x01a2b734c620, forSide:function: 0x01a3a72b5058, adesc:table: 0x01a4b2bf18f8, buildingGen:function: 0x01a29bfc1c40, goAround:function: 0x01a29d4c52b8, forHeight:function: 0x01a42a2c91f0, wallSplit:function: 0x01a4b3e42df8, keyRL:function: 0x01a4b6eade68, matApply:function: 0x01a4b6b952a0, meshApply:function: 0x01a296baefa0, voice2build:function: 0x01a4b7ac32f0, markUp:function: 0x01a4232719c0, forScope:function: 0x01a4b45e7860, forDesc:function: 0x01a4b6affa58, onKey:function: 0x01a4b6a5d7c0, pillarToggle:function: 0x01a4b30c0188, out:table: 0x01a46dfdc018, partOn:function: 0x01a2bad1bb40, forDAE:function: 0x01a4b6eb3420 (more...)}
    dec = table: 0x01a2ce165928 {ui:table: 0x01a2ce13b508, unselect:function: 0x01a30754c0c8, onSelect:function: 0x01a4b45e8660, restore:function: 0x01a4b6d39ac8, decalsLoad:function: 0x01a2ce1cf038, widthRestore:function: 0x01a4b6b736c0, out:table: 0x01a30740dba8, forRoad:function: 0x01a46df26068, onUpdate:function: 0x01a2bafeb3a8, node2edge:function: 0x01a3c970ee48, sideUp:function: 0x01a4b6f3de20, laneSet:function: 0x01a2b3f2f818, ter2road:function: 0x01a4b3db7858, middleUp:function: 0x01a2ce1dec08, matApply:function: 0x01a2ce12d208}
    reg = table: 0x01a4b33ae738 {populate:function: 0x01a46df56798, out:table: 0x01a4b4263e40, forRoads:function: 0x01a46d831c58, onUpdate:function: 0x01a4b7d586b8, onSpacing:function: 0x01a3081d04e0, ui:table: 0x01a3c96b69c8}
    handled = boolean: false
    desc = table: 0x01a3a7289158 {basement:table: 0x01a4b2eb9130, data:table: 0x01a4e30e5668, acorner_:table: 0x01a4b67fee08, afloor:table: 0x01a42a2ef170, pos:cdata: (...), id:36010, df:table: 0x01a3c992a320}
    colorNav = cdata: (...)
    bsize = number: 60
    ctxt = cdata: (...)
    opacity = number: 1
    (8) Lua local 'func' at line 3121 of chunk 'lua/ge/extensions/editor/buildingEditor.lua'
    (9) Lua field 'hook' at line 820 of chunk 'lua/common/extensions.lua'
    funcName = string[11]: "onEditorGui"
    funcList = table: 0x01a4e2d2ed68 {1:function: 0x01a41b7d2630, 2:function: 0x01a4b76950b0, 3:function: 0x01a46dc22560, 4:function: 0x01a4b7143ab0, 5:function: 0x01a4b424df48, 6:function: 0x01a3c9307ca8, 7:function: 0x01a38c4b6ef8, 8:function: 0x01a3b25c7dd8, 9:function: 0x01a2b9fe76f8, 10:function: 0x01a395316d80, 11:function: 0x01a3c995bda8, 12:function: 0x01a30872ec98, 13:function: 0x01a38c4bef20, 14:function: 0x01a307feb110, 15:function: 0x01a308527128, 16:function: 0x01a4b3a64240, 17:function: 0x01a2cde90fd0, 18:function: 0x01a3c99a84b0, 19:function: 0x01a2eb34b0d0, 20:function: 0x01a4b3bb7d20, 21:function: 0x01a4b6a1dce0, 22:function: 0x01a4b6efe5f8, 23:function: 0x01a46d11d408, 24:function: 0x01a2ce0b3680, 25:function: 0x01a3086e3c00 (more...)}
    (for generator) = C function: builtin#6
    (for state) = table: 0x01a4e2d2ed68 {1:function: 0x01a41b7d2630, 2:function: 0x01a4b76950b0, 3:function: 0x01a46dc22560, 4:function: 0x01a4b7143ab0, 5:function: 0x01a4b424df48, 6:function: 0x01a3c9307ca8, 7:function: 0x01a38c4b6ef8, 8:function: 0x01a3b25c7dd8, 9:function: 0x01a2b9fe76f8, 10:function: 0x01a395316d80, 11:function: 0x01a3c995bda8, 12:function: 0x01a30872ec98, 13:function: 0x01a38c4bef20, 14:function: 0x01a307feb110, 15:function: 0x01a308527128, 16:function: 0x01a4b3a64240, 17:function: 0x01a2cde90fd0, 18:function: 0x01a3c99a84b0, 19:function: 0x01a2eb34b0d0, 20:function: 0x01a4b3bb7d20, 21:function: 0x01a4b6a1dce0, 22:function: 0x01a4b6efe5f8, 23:function: 0x01a46d11d408, 24:function: 0x01a2ce0b3680, 25:function: 0x01a3086e3c00 (more...)}
    (for control) = number: 64
    _ = number: 64
    func = Lua function '?' (defined at line 3118 of chunk lua/ge/extensions/editor/buildingEditor.lua)
    (10) Lua field 'presentGui' at line 447 of chunk 'lua/ge/extensions/editor/api/gui.lua'
    dtReal = number: 0.00998473
    dtSim = number: 0.01
    dtRaw = number: 0.0104538
    io = cdata: (...)
    (11) Lua local 'func' at line 31 of chunk 'lua/ge/extensions/editor/mainUpdate.lua'
    dtReal = number: 0.00998473
    dtSim = number: 0.01
    dtRaw = number: 0.0104538
    (12) Lua field 'hook' at line 820 of chunk 'lua/common/extensions.lua'
    funcName = string[8]: "onUpdate"
    funcList = table: 0x01a46e280f10 {1:function: 0x01a2ce0f5b78, 2:function: 0x01a2cdec4cf8, 3:function: 0x01a2ebaf6d48, 4:function: 0x01a2ebb48af8, 5:function: 0x01a2cdd5c160, 6:function: 0x01a2ce101388, 7:function: 0x01a2cdc2e340, 8:function: 0x01a2cdbfc2d8, 9:function: 0x01a29af2b3b0, 10:function: 0x01a2ce1714c8, 11:function: 0x01a2ce14e028, 12:function: 0x01a29adde4b0, 13:function: 0x01a2cdc1e398, 14:function: 0x01a2ce346c58, 15:function: 0x01a2cdf52f58, 16:function: 0x01a4b3882fb8, 17:function: 0x01a3c9307fb0, 18:function: 0x01a3f0ebd488, 19:function: 0x01a29ca869c8, 20:function: 0x01a2cdcf6180, 21:function: 0x01a419278248, 22:function: 0x01a2cdc6a638, 23:function: 0x01a29bfd9f80, 24:function: 0x01a2cd9f2d50, 25:function: 0x01a2ebb6acb8 (more...)}
    (for generator) = C function: builtin#6
    (for state) = table: 0x01a46e280f10 {1:function: 0x01a2ce0f5b78, 2:function: 0x01a2cdec4cf8, 3:function: 0x01a2ebaf6d48, 4:function: 0x01a2ebb48af8, 5:function: 0x01a2cdd5c160, 6:function: 0x01a2ce101388, 7:function: 0x01a2cdc2e340, 8:function: 0x01a2cdbfc2d8, 9:function: 0x01a29af2b3b0, 10:function: 0x01a2ce1714c8, 11:function: 0x01a2ce14e028, 12:function: 0x01a29adde4b0, 13:function: 0x01a2cdc1e398, 14:function: 0x01a2ce346c58, 15:function: 0x01a2cdf52f58, 16:function: 0x01a4b3882fb8, 17:function: 0x01a3c9307fb0, 18:function: 0x01a3f0ebd488, 19:function: 0x01a29ca869c8, 20:function: 0x01a2cdcf6180, 21:function: 0x01a419278248, 22:function: 0x01a2cdc6a638, 23:function: 0x01a29bfd9f80, 24:function: 0x01a2cd9f2d50, 25:function: 0x01a2ebb6acb8 (more...)}
    (for control) = number: 19
    _ = number: 19
    func = Lua function '?' (defined at line 22 of chunk lua/ge/extensions/editor/mainUpdate.lua)
    (13) Lua function 'update' at file '/lua/ge/main.lua:592' (best guess)
    dtReal = number: 0.00998473
    dtSim = number: 0.01
    dtRaw = number: 0.0104538
    --------------- << END <<

    I tried to take a look at the buildingeditor.lua file, but the code is incredibly complex so I can't seem to make out what is wrong.

    Has anybody already experienced something similar? Maybe it depends on certain mesh and material combinations. I can send my building architect .json file if needed.

    I will probably also make a seperate post on my general feedback about this slightly buggy but amazing tool.
     
    • Like Like x 1
  2. Fluffy Panda

    Fluffy Panda
    Expand Collapse
    Global Moderator
    BeamNG Team

    Joined:
    Sep 16, 2020
    Messages:
    1,373
    Could you please follow the instructions on this page and send us your Support ID: https://supportid.beamng.com?

    Please post your Support ID in your reply here
     
  3. stuffi3000

    stuffi3000
    Expand Collapse

    Joined:
    Feb 6, 2022
    Messages:
    42
    Hi Fluffy,

    Thank you for your reply.

    I did as explained on the website, but when I click on "submit information" it says that my game version is outdated, even though it is not. I'm on version 0.35.5 as indicated by the latest log file just generated today:
    "-- Log started - v 0.35.5.0 - x64 - build 18098 - 2025-04-23 -- 16:26:31 -----"

    I tried the same procedure twice. The error remains the same:
    upload_2025-4-23_16-45-22.png

    I'll make a file integrity check, but I don't think that will change anything.

    Could you help me out further?
    --- Post updated ---
    I did the check, tried again and the problem remains the same @Fluffy Panda... Can I send you the information from the generated zip through other ways?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice