11-30-2022, 05:35 AM
Ah, I think so? Our artists just followed this tutorial adding objects to the prefab in prefab editor mode.
https://youtu.be/eP6QEn9SFoM
Then when I checked out her changes and opened the prefab it started happening.
She noted that when she was adding splines to the prefab that it was modifying the open game scene in the background (creating your global manager singleton).
It doesn't seem feasible that we would add manager singleton to every prefab, and this is apparently required for editing the spline. I can see looking at the code that your singleton is trying to force creation of object the editor, succeeding, but failing to find it. The new singleton also calls `Instance` in its `Awake`. We do have the branch around if you need me to investigate more, but I don't expect to continue using this product at this time.
I don't think it's appropriate for an editor tool to make scene modifications during edit mode (unless it's using the correct hide flags: https://docs.unity3d.com/ScriptReference/Object-hideFlags.html).
https://youtu.be/eP6QEn9SFoM
Then when I checked out her changes and opened the prefab it started happening.
She noted that when she was adding splines to the prefab that it was modifying the open game scene in the background (creating your global manager singleton).
It doesn't seem feasible that we would add manager singleton to every prefab, and this is apparently required for editing the spline. I can see looking at the code that your singleton is trying to force creation of object the editor, succeeding, but failing to find it. The new singleton also calls `Instance` in its `Awake`. We do have the branch around if you need me to investigate more, but I don't expect to continue using this product at this time.
I don't think it's appropriate for an editor tool to make scene modifications during edit mode (unless it's using the correct hide flags: https://docs.unity3d.com/ScriptReference/Object-hideFlags.html).