Skip to main content

script not found / failed to load

❌ Error

resource xyz failed to load / script not found

📍 Context

Occurs when the server or client cannot find the script/resource. Could be caused by:

  • Missing resource folder
  • Typo in server.cfg or fxmanifest.lua
  • Dependencies not started

✅ Solution

  • Ensure the resource folder exists in resources/.
  • Check fxmanifest.lua and server.cfg for typos.
  • Start dependencies before dependent scripts.

ℹ️ Additional Information

  • Can appear on server console or client console.
  • Check server logs for exact missing resource.
  • Use ensure resourceName in server.cfg to start resources.
  • Verify resource names match folder names exactly (case-sensitive).