So in 1.6 I have a game object which uses a local graph (main reason being it’s tied to the components on the children of this object, so needs the scene references). This game object was instantiated N times in my scene, so I saved it all out as a prefab and this worked well.
In 2.0 I can’t prefab a local graph, and an asset graph can’t have references to the game objects child hierarchy. This is problematic for me as it breaks the functionality I had previously. Is there a way to solve this in 2.0?
Experimenting a little further I see now that it’s a literal scene reference, so even having a local graph and then copying that object means the new graph still references the previous objects children components, again this is non ideal for hierarchical control within a gameobject.
I’m currently getting around this now using blackboard variables to hold the references to the various other components I need within the same game object or scene, as this works with assets, I guess this is the right approach?
This is a known issue which I am fixing and pushing a new upate ASAP.
The best aproack for now would indeed be using blackboard variables for prefab hierachy references yes 🙂