12-23-2018, 04:34 PM
(12-15-2018, 03:59 PM)metroidsnes Wrote: My question is, in what situation should this error occur?This was not supposed to happen. But in the process of fixing this bug, I found that this happens if you have a Curvy Global Manager in a scene with no spline, and then added a scene having a spline and (naturally) its own Curvy Global Manager. I am right now working on fixing the Curvy Global Manager singleton handling. The fix should be available in the next update.
(12-15-2018, 03:59 PM)metroidsnes Wrote: How does the merging of the global managers work?When multiple Curvy Global Managers are detected, the method CurvyGlobalManager.MergeDoubleLoaded is called, and this is where the merging is handled. Basically the first found manager is kept while incorporating the Curvy Connections from the other managers
(12-15-2018, 03:59 PM)metroidsnes Wrote: EDIT: When I load my main scene and all of the composite partial scenes in the editor, the _CurvyGlobal_ GOs from the partial scenes disappear and a new one is created in my main (active) scene. Then when I save my main scene it'll have a _CurvyGlobal_ GO even though it doesn't have any Curvy components in it. Is that the intended behaviour?The intended behavior is to remove all but one Curvy Global Manager. So there should not be one added in a scene where none was present. I couldn't reproduce this based on your post. Do you have a mini project where I can witness this?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.