asus4 / tf-lite-unity-sample

TensorFlow Lite Samples on Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing meta files in TensorFlow Lite package 2.12.0

Ale1 opened this issue · comments

commented

Environment (please complete the following information):

  • OS/OS Version: macOs Monterrey
  • Source Version: latest package from NPM server, as per the readme.
  • Unity Version: 2021.3.17

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.

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.

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.