01-09-2018, 09:24 PM
Hi
There is a bug, that creates issues with pooling when using Curvy 2.1.3 (or bellow) with Unity 2017.2.1 (or above).
The bug is fixed in Curvy 2.2.0. This version is not yet available (still under Unity's validation), so in the meantime, here is the bug fix for those who have the issue:
In Assets/Packages/DevTools/Components/ComponentPool.cs
look for
m_Settings.OnValidate();
and replace it with
if (m_Settings != null) m_Settings.OnValidate();
Same thing to do in Assets/Packages/DevTools/Components/PrefabPool.cs
Have a nice day.
There is a bug, that creates issues with pooling when using Curvy 2.1.3 (or bellow) with Unity 2017.2.1 (or above).
The bug is fixed in Curvy 2.2.0. This version is not yet available (still under Unity's validation), so in the meantime, here is the bug fix for those who have the issue:
In Assets/Packages/DevTools/Components/ComponentPool.cs
look for
m_Settings.OnValidate();
and replace it with
if (m_Settings != null) m_Settings.OnValidate();
Same thing to do in Assets/Packages/DevTools/Components/PrefabPool.cs
Have a nice day.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance workâfeel free to reach out.
Available for freelance workâfeel free to reach out.