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
for that reason, the "inMemoryCopy" should be created on-demand in the Event getter property if it does not exist yet, and the component itself is enabled.
The text was updated successfully, but these errors were encountered:
The current implementation of MonoHooks: https://github.com/unity-atoms/unity-atoms/blob/master/Packages/MonoHooks/Runtime/Hooks/VoidHook.cs#L16-L22
Should use VoidBaseEventReference and GameObjectEventReference instead.
Note that an OnAwakeHook would potentially call it's event BEFORE it is created in OnEnable ( https://github.com/unity-atoms/unity-atoms/blob/master/Packages/Core/Runtime/EventInstancers/AtomEventInstancer.cs#L43-L53 )
for that reason, the "inMemoryCopy" should be created on-demand in the
Event
getter property if it does not exist yet, and the component itself is enabled.The text was updated successfully, but these errors were encountered: