Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does Pooling works across scene loading?
#1
Hi Jake.

I tried use CurvySpline's pooling in my game but it crashes my game.
I wasn't sure if the CurvySpline pooling works across LoadScene().
My spline is sitting under a GameObject that persist across levels (DontDestroyOnLoad).


So, to repeat that, I have added a new button in the "97_Pooling" scene just to reload the same scene again.

Code:
public void ReloadLevel()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}

[Image: u0njWDd.png]


And I'm getting the same error.
"The object of type 'CurvySplineSegment' has been destroyed but you are still trying to access it."

Any idea how to address that?



Note: I'm still using version 2.0.3.

BTW, Thanks for adding the pooling capability in version 2.0.3.
Reply


Messages In This Thread
How does Pooling works across scene loading? - by kimc - 01-08-2016, 01:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does Curvy has gameobjects pooling system function? Chanon 7 13 09-07-2023, 12:43 PM
Last Post: _Aka_
  Animating a shape on along a spline will not playback in scene or game views sam_bond 3 9 05-03-2023, 11:41 AM
Last Post: _Aka_
  Select Point in Scene soccertrash 1 6 07-04-2022, 04:03 PM
Last Post: _Aka_
  Scene 51 questions lukasynthetic 3 12 06-22-2022, 04:12 AM
Last Post: _Aka_

Forum Jump: