Unknown Object

From Minetest Wiki
Revision as of 18:46, 7 September 2017 by Wuzzy (talk | contribs) (fix typo)
Jump to navigation Jump to search
Languages Language: English • Bahasa Melayu
Texture of an unknown object

An unknown object is pseudo-object in Minetest to represent an object (such as a mob of which the object definition is unknown. These objects must never appear in the game, it's always an error when you encounter one.

Behaviour

An unknown object appears as a flat texture with “unknown object” written on it. The velocity of the original object is usually preserved so unknown objects often tend to fly through the world.

Internally, an unknown object still knows the “real” object it represents and the associated data. You can see its entity/object ID by pointing it. If an unknown object is found by Minetest, there will also be an error message complaining about that a LuaEntity could not be found (this “LuaEntity” refers to the unknown object), along with its entity ID.

To fix problems with unknown objects, first check the troubleshooting section. Unknown objects are destroyed when punching or if they receive any amount of damage.

Troubleshooting

A common reason for an unknown object to appear is when you have previously activated a mod which added some new objects, then later deactivated said mod. Now all objects from this mod will appear as an unknown objects. In this case, you can solve this simply by enabling the missing mod again. If you forgot from which mod this object originated from, point it to learn its entity ID. The part before the colum is the mod name.

Another possible cause is a bug in mods or subgames. Developers of a subgame may have made a mistake or they removed object types intentionally without any replacement. Complain to the subgame authors if this happens, as this is generally considered poor development practice. If unknown objects occour without you using any mods, this is almost certainly a bug.


See also