1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.36 Bug Reporting thread
    Solutions and more information may already be available.

"Fatal Lua Error" World Editor not opening.

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by GreekRussian, Sep 19, 2024.

  1. GreekRussian

    GreekRussian
    Expand Collapse

    Joined:
    Sep 19, 2024
    Messages:
    2
    Today I tried opening the level editor only to find the following error

    "Fatal Lua Error
    string
    *lua/ge/extensions/editor/imguiLuaDemo.lua":142:
    declaration specifier expected
    near 'voidPtr'
    ================ Stack
    Traceback >> START >> (1) C
    function 'function:
    0x0278a655c3b0' (2) field C
    function 'new' (3) main chunk
    of
    lua/ge/extensions/editor/imgui
    LuaDemo.la at line 142 (4)
    global C function 'require'

    This is confusing, I have no idea what this means, and have tried looking online, what I have found says to delete all your mods, which I tried, it didn't work. Please help, I cannot open the level editor.
     

    Attached Files:

    • Screenshot2024-09-18at64305PM.png
    • Agree Agree x 1
  2. GaryHH

    GaryHH
    Expand Collapse

    Joined:
    Mar 2, 2023
    Messages:
    5
    I could fix it by running the integrity check.
    Start BeamNG, select 'Support Tools' > 'Integrity check.'
    Good luck!
     
  3. GreekRussian

    GreekRussian
    Expand Collapse

    Joined:
    Sep 19, 2024
    Messages:
    2
    unfortunately it did not work... :(
     
  4. Szajbus w BeamNG

    Szajbus w BeamNG
    Expand Collapse

    Joined:
    Sep 2, 2023
    Messages:
    16
    For me running game in DirectX worked. I had this issue with vulkan.
     
  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