Skip to content

[MTA:SA Server 1.6.0 x64] Regression: LUAC-Compiled Scripts Fail to Load in New Nightly Builds #5334

Description

@eghbalTG

Describe the bug

Description

There appears to be a compatibility issue with LUAC-compiled Lua scripts in newer MTA:SA x64 1.6 RC builds.

Currently, LUAC-compiled scripts load and run correctly on:

  • mtasa_x64-1.6-rc-23774-20260123.exe

However, newer builds fail to properly load LUAC-compiled scripts.

The following builds have been tested and are affected:

  • mtasa_x64-1.6-rc-24138-20260813.exe
  • mtasa_x64-1.6-rc-24139-20260820.exe
  • mtasa_x64-1.6-rc-24140-20260820.exe
  • mtasa_x64-1.6-rc-24143-20260905.exe
  • mtasa_x64-1.6-rc-24144-20260907.exe

Expected behavior

LUAC-compiled scripts that work correctly on build 23774 should also be compatible with newer MTA:SA 1.6 x64 RC builds.

Actual behavior

On newer builds, LUAC-compiled scripts fail to load correctly.

The same resource and the same LUAC files work correctly when using:

mtasa_x64-1.6-rc-23774-20260123.exe

but fail when using the newer builds listed above.

Regression

This appears to be a regression introduced sometime between:

Working build:

  • mtasa_x64-1.6-rc-23774-20260123.exe

and:

Affected builds:

  • mtasa_x64-1.6-rc-24138-20260813.exe
  • and newer builds

Additional information

The issue specifically affects scripts compiled using LUAC. The same compiled files previously worked correctly and have not been modified.

Could you please check whether there have been any changes to the Lua interpreter, Lua bytecode handling, LUAC compatibility, or script loading mechanism between these builds?

Steps to reproduce

  1. Install MTA:SA Server 1.6.0 x64 build 23774.
  2. Start a resource containing a LUAC-compiled Lua script.
  3. Verify that the LUAC script loads and works correctly.
  4. Replace the server with a newer x64 nightly build, such as 24138 or 24144.
  5. Start the same resource without changing the LUAC files.
  6. Observe that the LUAC-compiled script fails to load.
  7. Downgrade back to build 23774 and verify that the same LUAC script loads correctly again.

Version

No response

Additional context

Client: MTA:SA 1.6.0 x64
Server: MTA:SA 1.6.0 x64 RC / Nightly

Working build: mtasa_x64-1.6-rc-23774-20260123.exe
Affected builds: mtasa_x64-1.6-rc-24138 and newer

Server OS: Windows Server x64
Wine: No

Relevant log output

No relevant error message is displayed in the server console.

The resource fails to load the LUAC-compiled script on affected builds, while the exact same resource and LUAC files work correctly on build `23774`.

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions