Reactive Disposal

Manage unmanaged memory in Unity ECS

Notice

Due to the original voltile nature of the early days of DOTS, we have not had the time to update this system and it is now archived. Rules of BlobAssets have been updated, so the example is no longer valid. For more information about BlobAsset, we recommend you visit Unity’s Entities testing package and view the BlobificationTests.cs file.

About

Reactive Disposal is a small utility to reduce the boiler plate of having to manually release memory. This does so by tracking the life times using Unity ECS rules of SystemState Components and checking if an entity received a new tag which marks the disposal of the unmanaged memory.

How to get it

Follow the instruction on the Github repository’s README to find out to how install it with your preferred method.

https://github.com/InitialPrefabs/ReactiveDisposal