- It’s mentioned that OnCreate, OnDestroy has to be implemented even if empty on ISystem. But it seemed to work fine without them. Are these still needed?
pre 44 added default interface implementations so they aren’t required
- [BurstCompile] is needed for ISystem callbacks methods, but not needed for IJobEntity Execute() method?
Correct. Burst has never been required for a jobs Execute method only on the struct.
- Is it safe now to use native collections as fields inside IComponentData or ICleanupComponentData?
Hmm you can’t query a component with a native container. The only good use case of native containers on components is on singletons where you query the singleton in a system then pass the container into the system
- What’s the best way to share data between ISystems (in the main thread): GetUnsafeSystemRef() or using a singleton?
Entities singleton pattern would be the standard way.
- Any NativeHashMap equivalent for DynamicBuffer?
Not officially. I actually wrote a kind of wrapper for DynamicBuffer that turns it into a DynamicHashMap and DynamicMultiHashMap BovineLabs.Core/Iterators · master · Tim (tertle) / com.bovinelabs.core · GitLab
Maybe something to inspire