1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice

[Guide] Why traffic breaks in 0.35+ and how to find the hidden driver_assistance_angelo234 scripts i

Discussion in 'General Discussion' started by XIAOBAI_YDZ523, Aug 15, 2025.

  1. XIAOBAI_YDZ523

    XIAOBAI_YDZ523
    Expand Collapse

    Joined:
    Aug 15, 2025
    Messages:
    1
    Background:
    Since BeamNG version 0.35, some mods that worked fine in older versions (0.34 and earlier) can break the traffic system.

    This is usually caused by:

    • Changes in the AI and traffic system API: The way the game initializes AI vehicles and parts has changed, so old scripts that expect the old data structure (like the parts table) will fail.

    • Bundled scripts inside other mods: Even if you uninstall a problematic mod (like Advanced Driver Assistance Systems), other vehicle packs or config packs might include the same scripts inside their zip. The game still loads them, causing the same Lua error.

    • No null-checks in older scripts: Many old mods don't check if certain game data is available before using it, so they crash when the data format changes.
    Result:

    • Traffic shows the loading icon forever

    • Vehicles either spawn and don’t move, or don’t spawn at all

    • Console shows:
    Fatal Lua Error
    scripts/driver_assistance_angelo234/extraUtils.lua:27: attempt to index local 'parts' (a nil value)
    How to fix it:
    Find which mod contains the driver_assistance_angelo234 scripts and remove it.
    Even if you never installed the standalone ADAS mod, another mod could be including it.

    Steps to locate the mod (Windows PowerShell method):

    1. Open your BeamNG config folder
      Go to:

      %LocalAppData%\BeamNG.drive\0.36
      (or whichever version folder you’re using)

    2. Open PowerShell in that folder
      Hold Shift → Right-click empty space → Open in PowerShell/Terminal.

    3. Run this script:

      Add-Type -AssemblyName System.IO.Compression.FileSystem
      Get-ChildItem -Recurse -Include *.zip -File |
      ForEach-Object {
      $zip = [System.IO.Compression.ZipFile]::OpenRead($_.FullName)
      $hit = $zip.Entries | Where-Object { $_.FullName -match 'scripts/driver_assistance_angelo234/' }
      if ($hit) {
      "`n>>> FOUND in: $($_.FullName)"
      $hit | Select-Object -ExpandProperty FullName
      }
      $zip.Dispose()
      }
    4. Read the output
      • >>> FOUND in: shows the full path to the mod .zip containing the scripts

      • Remove or rename that .zip from your mods folder

      • Clear Cache (Deep Clean) in the Launcher

      • Restart the game and test traffic again
     
    • Like Like x 2
  2. Trigger4589

    Trigger4589
    Expand Collapse

    Joined:
    Jan 20, 2023
    Messages:
    42
    THANK YOU THANK YOU THANK YOU MY LORD I HAVE 18 MODS WITH IT

    (i seriously cannot thank you enough)
     
  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