homuler / MediaPipeUnityPlugin

Unity plugin to run MediaPipe
MIT License
1.78k stars 462 forks source link

fix: fail to rerun the sample graph #1219

Closed homuler closed 2 months ago

homuler commented 2 months ago

Caused by #1210.

Currently, when the sample graph or task runner is rerun (e.g. after changing the config), it fails because the dependent resources is already prepared.

This PR fixes this issue by always overwriting the internal Dictionary.