Nautilus icon indicating copy to clipboard operation
Nautilus copied to clipboard

Now you can stop custom prefabs from getting cached

Open Metious opened this issue 1 year ago • 1 comments

Changes made in this pull request

  • Previously we had methods to remove a prefab from the cache, but users didn't have a place to call it, so it was useless. This PR allows users to remove prefabs at real-time (regardless of being in patch time, or in a world).
  • Added a new extension method for CustomPrefab to remove a custom prefab from the cache.
  • Fixed a bug where if a custom prefab's game object returns null, the game freezes

~~NOT TESTED~~

Metious avatar Apr 25 '24 15:04 Metious

Tested this PR on stable branch of SN1 (v71288) and works.

Metious avatar Apr 30 '24 12:04 Metious