I’m a little confused with how it works currently (or rather doesn’t). When Convert And Inject option is selected, the object still get’s destroyed. Why is that happening?
I wanted to create my own system to serialize and keep references to managed component in IComponentData as int keys and a database that will provide the actual objects. But that’s more work than I expected and I could use the injection instead. But…
- Why doesn’t it work for me?
- I think, injection used to create a lot of extra archetypes which led to performance degradation should that still be a concern?
- What is “ConvertToEntity (Stop)” script?
Are there other downsides to consider in regards to injecting game objects?