NexthostingLogs

Logs / Error guide / Garry's Mod

Garry's Mod: ERROR models and purple-black textures

What the message means

A model or material that a map or addon uses isn't present on the server or on the players' side. Instead of the model, a red ERROR appears; instead of the texture, a purple-black checkerboard.

What it looks like in the log

Started map "rp_downtown_v4c"
Model missing: models/sentry/vehicles/police_car.mdl
Error loading model models/props_custom/shopsign01.mdl
Missing material: maps/rp_downtown_v4c/brick/brickwall_02

Excerpt from an example log, marked the way the analysis marks it.

Common causes

  • An addon's content isn't in the Workshop or in FastDL, so players never download it.
  • The map uses content from other games (usually Counter-Strike: Source) that players don't have.
  • A Workshop addon with content has dropped out of the collection.
  • Model path in the addon is misspelled (upper and lower case on Linux).

How to fix it

  1. Check the log for which models and materials are missing – the paths reveal the addon or the map.
  2. Add the content to the collection as a Workshop addon or provide it via FastDL (resource.AddWorkshop or resource.AddFile).
  3. If the map needs CS:S content, offer a Workshop package with that content in the collection.
  4. For your own addons, check whether the path in the code is spelled exactly like the file.