Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCRIPT ERROR: native 00000000ff44780e: exception at address FiveM_b3407_GTAProcess.exe+E335E2 (DRAW_CORONA) on b3407 #3132

Closed
ImBaphomettt opened this issue Feb 5, 2025 · 6 comments · Fixed by #3133
Labels
bug crash ScRT: Lua Issues/PRs related to the Lua scripting runtime

Comments

@ImBaphomettt
Copy link

What happened?

Hello,

SCRIPT ERROR: native 00000000ff44780e: exception at address FiveM_b3407_GTAProcess.exe+E335E2 (DRAW_CORONA) on b3407

Image

#3113

local pedCoords = GetEntityCoords(PlayerPedId())
Citizen.CreateThread(function()
    while true do
        DrawCorona(pedCoords.x, pedCoords.y, pedCoords.z, 5.0, 255, 255, 255, 255, 4.0, 0.2, pedCoords.x, pedCoords.y, pedCoords.z, 1.0, 0.0, 90.0, 2)
        Wait(0)
    end
end)

Expected result

working

Reproduction steps

  1. Start the server using gamebuild 3407.
  2. Execute the code above.
  3. An exception occurs.

Importancy

Crash

Area(s)

FiveM, ScRT: Lua

Specific version(s)

b3407

Additional information

No response

@ImBaphomettt ImBaphomettt added bug triage Needs a preliminary assessment to determine the urgency and required action labels Feb 5, 2025
@github-actions github-actions bot added crash ScRT: Lua Issues/PRs related to the Lua scripting runtime labels Feb 5, 2025
@DaniGP17
Copy link
Contributor

DaniGP17 commented Feb 5, 2025

Hi, I'm sorry it's not working as it should, I remember trying it on all game builds and not having any problems, I'll check it right now.

@DaniGP17
Copy link
Contributor

DaniGP17 commented Feb 5, 2025

I'm testing it in b3407 with the same code and looks correct:

Image

@ImBaphomettt
Copy link
Author

It's strange because, in this case, it throws this exception when executing the example code.

https://streamable.com/1qj7vs

@DaniGP17
Copy link
Contributor

DaniGP17 commented Feb 5, 2025

Checked in the canary branch and yeah is throwing exception, but in my builded fivem client is working fine, I'm gonna check

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Feb 6, 2025
@draobrehtom
Copy link

Guys, can you look on this issue too? Seems like it has some similarities:
#3126

@DaniGP17
Copy link
Contributor

DaniGP17 commented Feb 8, 2025

Guys, can you look on this issue too? Seems like it has some similarities: #3126

I already open a PR to fix that: #3127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash ScRT: Lua Issues/PRs related to the Lua scripting runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants