View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.1
- Last updated
- First released
- Unity version
- 2019.4.15 or later
- Package size
- 26.1 MB
- Files
- 28
- Favorites
- 34
- Views in the past week
- 2
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $14.99 on
Keywords
Object Chunks
Object Chunks is a plugin designed to optimize many scene-objects with performance-intensive components by dividing them into parts of the scene called chunks.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 8
Object Chunks screenshot 1
About this asset
A scene in Unity is a virtual space for your GameObjects. To optimize the calculations and behaviors on the scene-objects, the scene can be divided into chunks. This is, what the Object Chunks plugin is designed for. A chunk is a rectangular part of your virtual scene space and defined by a two-component integer vector (called Vector2Int in Unity), describing its X and Y position in your chunk grid. Once, the plugin is in use and chunks are calculated, the total space or number of chunks is nearly infinite since chunks are no physical or virtual objects of your data-memory, but abstract concepts to compare or differ object’s positions in your scene. Chunks are always two-dimensional but can easily be used in a three-dimensional context by extending their “height” since relevant distances (e.g., in “Open World” concepts) are most often of planar nature. The size of chunks as well as offsets for the chunk grid origin and further settings can be set by you, the user.
Chunks are used to calculate, simplify, and compare objects positions. Every Unity-GameObject of your scene, identified as a “Chunk Object” can calculate the chunk it is part of easily and fast. This can be used to drastically simplify calculating positional relations between Chunk Objects.
Furthermore, the plugin provides a method called Chunk-Loading, where a list of chunks marked as "active" is maintained. Objects, entering or leaving an active chunk, are processed by the system and receive callbacks for per-object behaviors. This makes it easy to get a list of all chunk objects in an optimized way. Loading chunks (e.g., by distance to a specified object, for example the player-avatar) is easy to setup and manage. In addition, the plugin supports multiple chunk-loading sources (e.g., different player-avatars).
From the publisher's Asset Store listing.
Technical details
- Dividing the Unity-scene into virtual "chunks" to simplify positional relations
- Load/Unload specific chunks and get easy and performant access to all objects inside
- Have multiple units/entities that load chunks around them by distance (e.g. Players)
- Easily convert a units position to its chunks position and vise-versa
- Objects, known by the chunks system, receive callbacks when their chunk-state changes.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2019.4.15f1 | Compatible | Compatible | Compatible | Compatible |
Although the original project was created with Unity version 2021.1, the update was uploaded and tested in version 2019.4.15.
As listed on the Asset Store.