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

Asset - Database

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.