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
Describe the bug
After destroying a entity that has a component with resource, such as glTf/lottie/spine,then If you load the the same resource again, the component of the returned entity is undefined. There maybe a cache bug in ResourceManager
To Reproduce
Steps to reproduce the behavior:
Load a resource with resourceManager and return a entity.
Destroy the entity with destroy() method.
Repeat the same resource like step 1.
undefined error happens.
Expected behavior
Engine will handle the problem internally.
The text was updated successfully, but these errors were encountered:
Describe the bug
After destroying a entity that has a component with resource, such as glTf/lottie/spine,then If you load the the same resource again, the component of the returned entity is
undefined
. There maybe a cache bug inResourceManager
To Reproduce
Steps to reproduce the behavior:
resourceManager
and return a entity.destroy()
method.undefined
error happens.Expected behavior
Engine will handle the problem internally.
The text was updated successfully, but these errors were encountered: