Search Issue Tracker
By Design
Votes
0
Found in
2020.1.a15
2019.3
Issue ID
1292478
Regression
Yes
Asset DB v2 metafile restoring is different from v1
Asset DB v2 does not restore metafile the same way v1 does. I think the v1 behaviour is desired, but should be determined before fixing this case.
Repro steps
1) Create a material - "test.mat"
2) Add a label to material - "test.mat"
3) Save project
4) Open "test.mat.meta" and see label set in meta file
5) Delete "test.mat.meta" outside of unity
6) Give unity focus to trigger refresh
7) Open "test.mat.meta" again and see that label now is missing in metafile
When asset db v2 restores a metafile, it doesn't restore all previous values. It only restores the GUID. V1 restores all values.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note:
v2 behaviour is the desired behaviour. If meta file is deleted by user, then settings should be reset.