You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variable Resetter is, if I understand correctly, mostly meant to ensure that specific vars are reset on scene load
However, since it relies on OnEnable solely, it triggers during script hot reload as well.
Because of this, all enabled variable resetter will trigger on script hot reload, making the Unity scene recovery a bit useless.
It would be pretty nice to add a toggle in the component, to make it ignore any OnEnable calls caused by a scene load, or to simply make trigger on Awake instead.
The text was updated successfully, but these errors were encountered:
Variable Resetter is, if I understand correctly, mostly meant to ensure that specific vars are reset on scene load
However, since it relies on OnEnable solely, it triggers during script hot reload as well.
Because of this, all enabled variable resetter will trigger on script hot reload, making the Unity scene recovery a bit useless.
It would be pretty nice to add a toggle in the component, to make it ignore any OnEnable calls caused by a scene load, or to simply make trigger on Awake instead.
The text was updated successfully, but these errors were encountered: