asus4 / tf-lite-unity-sample

TensorFlow Lite Samples on Unity
861 stars 252 forks source link

Missing meta files in TensorFlow Lite package 2.12.0 #305

Closed Ale1 closed 1 year ago

Ale1 commented 1 year ago

Environment (please complete the following information):

Describe the bug When upgrading to the latest tensorflow package (2.12.0), unity shows console errors regarding missing meta files. These errors continue to show up on project startup until fixed.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade package from UPM from 2.11.x to 2.12.0
  2. Errors will show up in console right away.

Expected behavior missing .meta files should be added to package source files.

Workaround Issue can be temporarily patched by end-user, by embedding the package in the project (this will remove package immutability, allowing unity to generate the missing .metas on its own). However in the long-run these metas should come from the package source files.

Screenshots

Screenshot 2023-05-18 at 11 13 39

Additional context Happy to create PR with fix if its convenient to you.

asus4 commented 1 year ago

Thank you @Ale1 for reporting it.

The meta files should not be included in the *.framework. I removed all meta files in the framework at #307. I will test it via UPM.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.