This command detects missing correspondence between Unity asset files and .meta files.
TBW
docker pull yuukiaria/unity-meta-checker
Or, just docker run
/path/to/unity-meta-checker -p <UnityProjectPath>
docker run --rm -v <UnityProjectPath>:/workspace:ro,cached yuukiaria/unity-meta-checker
Display help and exit.
Specify a path to Unity project, containing Assets
folder.
Exit with non zero code when any paths are reported.
If this option is not specified, exit with zero even if some paths are reported.
Specify a path to file that reports be written to.
Specify a path to template file used to render reports. Templates are processed by Golang's text/template package.
For example, use custom.yml.tpl with the following contents:
danglingMetaFiles:
{{- range .DanglingMetaPaths }}
- {{ . }}
{{- else }} [] {{- end }}
metalessAssetPaths:
{{- range .MetalessAssetPaths }}
- {{ . }}
{{- else }} [] {{- end }}
Then reports will be rendered like as:
danglingMetaFiles:
- abc/def/ghi.meta
metalessAssetPaths: []