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
- Install MTA:SA Server 1.6.0 x64 build
23774.
- Start a resource containing a LUAC-compiled Lua script.
- Verify that the LUAC script loads and works correctly.
- Replace the server with a newer x64 nightly build, such as
24138 or 24144.
- Start the same resource without changing the LUAC files.
- Observe that the LUAC-compiled script fails to load.
- 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
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.exeHowever, 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.exemtasa_x64-1.6-rc-24139-20260820.exemtasa_x64-1.6-rc-24140-20260820.exemtasa_x64-1.6-rc-24143-20260905.exemtasa_x64-1.6-rc-24144-20260907.exeExpected behavior
LUAC-compiled scripts that work correctly on build
23774should 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.exebut 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.exeand:
Affected builds:
mtasa_x64-1.6-rc-24138-20260813.exeAdditional 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
23774.24138or24144.23774and 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.exeAffected builds:
mtasa_x64-1.6-rc-24138and newerServer OS: Windows Server x64
Wine: No
Relevant log output
Security Policy