Removes an instance from the engine cache. The next time the game resolves that object it mints a fresh userdata, so any reference a script is holding no longer compares equal to the new one. A blunt but effective way to break a cached reference.

Parameters

Instance
required
The instance to drop from the cache.

Example

Errors