Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does Pooling works across scene loading?
#3
I am also getting crashes to do with scene loading! It would appear that the curvy segments are being destroyed before they get moved into the singleton (perhaps due to Unity's never-ending update order problems). Then, when the pool attempts to remove excess segments (which in fact have already been destroyed), it gets exceptions

The simple solution, I expect, is to null-check the collection of pooled segments before manipulating it.
Reply


Messages In This Thread
RE: How does Pooling works across scene loading? - by bvance - 01-08-2016, 10:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Any performance 'hacks' for scene with lots of splines rickgplus 1 2,002 03-18-2025, 10:11 PM
Last Post: _Aka_
  Scene 51: Dynamic track between two points wallflower6 3 2,782 08-19-2024, 08:18 AM
Last Post: _Aka_
  Does Curvy has gameobjects pooling system function? Chanon 7 4,382 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 3,145 05-03-2023, 11:41 AM
Last Post: _Aka_

Forum Jump: