I recently added objects collision detection in my game and change base_color field of all object material to red when there is a collision:
But I noticed that if I change same base color of the same material multiple times - the game starts to slowdown and memory usage increases. And It happens even when bevy-hikari is disabled. I suspect that there could be a memory leak. I also would expect to not have any materials preprocessing from hikari side when the plugin is disabled.
I recently added objects collision detection in my game and change
base_color
field of all object material to red when there is a collision: But I noticed that if I change same base color of the same material multiple times - the game starts to slowdown and memory usage increases. And It happens even whenbevy-hikari
is disabled. I suspect that there could be a memory leak. I also would expect to not have any materials preprocessing from hikari side when the plugin is disabled.