Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1113773
Regression
No
Error messages in Console Window when a string field containing a .meta file's contents is serialized
How to reproduce:
1. Open attached project "case_1113773-YamlBugRepro_1" and scene "SampleScene"
2. Drag the "Cube" GameObject from the Hierarchy to the Project Window to make it into a prefab
3. Select an asset e.g. the script "TestMonoBehavior" and click Assets - > "Save Selected Object's Meta To String Field" to create a ScriptableObject instance
Expected result: no error messages in Console Window
Actual result: error messages in Console Window after 2nd and 3rd steps
Reproducible with: 2017.4.21f1, 2018.3.7f1, 2019.1.0b4, 2019.2.0a6
Note: the "Cube" GameObject has a MonoBehaviour with a string field containing the contents of an asset's metafile. The ScriptableObject "StringScriptableObject" class has the same string field as the "TestMonoBehavior" MonoBehaviour. Repro step 3 is optional but demonstrates a different problem scenario
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This is a corner case cosmetic issue, we currently don't have the bandwidth to fix. The use case seems very specific and isolated, but we can reevaluate if we can see that it affects a lot of users.