# HISM index problem

**URL:** <https://forums.unrealengine.com/t/hism-index-problem/499183>\
**Category:** Rendering\
**Tags:** hism, unreal-engine, question, UE4-27\
**Created:** [February 17, 2022, 3:33pm UTC](https://forums.unrealengine.com/t/hism-index-problem/499183 "2022-02-17T15:33:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 18, 2022, 2:14pm UTC](https://forums.unrealengine.com/t/hism-index-problem/499183/4 "2022-02-18T14:14:34Z")

</div>

The HISM culling shenanigans improved dramatically.

Removing indexes still works the same, though. You can use a Dictionary for storing values but you’ll be unable to remove instances without indexes shifting about - making the data that resides in the Dictionary stale, useless.

* * *

One solution is to _not_ remove instances, hide or move them out the way instead:

Here’s a small thing that hopefully demonstrates it better:

> [@How to add a hit count (health points) to individual instances?](https://forums.unrealengine.com/t/how-to-add-a-hit-count-health-points-to-individual-instances/227176/2):
>
> The name of the game is Custom Primitive Data (check docs at the bottom). The material for a brick: each instance stores a float which is used to Lerp between 2 colours (to visualise hits remaining) this can (and probably should) get prettified Making a brick wall: create a bunch of instances and store their data in an int | int Map instead of an integer, you could have a struct and hold all kind of data here; perhaps this brick is worth some coins, or explodes when destroyed and …

---

_[View the full topic](https://forums.unrealengine.com/t/hism-index-problem/499183)._
