#Sharing native struct between systems (like NativeParallelMultiHashmap)

1 messages · Page 1 of 1 (latest)

timid yew
#

Trying to have another systems burst jobs read whats stored in a static NPMHM initially created/refreshed by another system just gives a BC1040 error, is there some way of getting the other systems jobs to read this without either shoving it into a monolithic OnUpdate() or just recreating it again (its just a struct for spacial entity searching)

true flume
#

Standard way is to store it on a singleton component and use get singleton between the systems

#

This ensures dependency management as well between jobs of different systems