Search Issue Tracker

Fixed in 2020.1

Votes

0

Found in

Issue ID

1214122

Regression

No

Investigate why .meta files are sometimes not parsed right

Asset Import Pipeline

-

The FileHasher.cpp emits an error whenever particular entries in a .meta file are mistaken for something which is not a Scalar value.

It has been noticed that when a .meta file ends with two spaces (the YAML standard for indentation) it sometimes mistakes the entry above it as being a mapping node.

One example can be found in this file:

https://github.cds.internal.unity3d.com/unity/xr.sdk.magicleap/blob/master/Packages/com.unity.xr.magicleap/Runtime/Compatibility.cs.meta

Where assetBundleVariant: is followed by a new line, and then 2 space characters (ascii value 32) before reaching the EOF marker.

Steps to reproduce:
- Create a new Unity project
- Create a new asset (a script for example)
- Close the project
- Find the location where the asset was created, and modify the matching *.meta file in a text editor
- Modify the end of the file so the last line is a line with 2 spaces, preceded by the "assetBundleVariant: " line
- Re-open the the project in Unity
- Observe that in approximately 1 of every 20 attempts to reproduce, an exception will appear in the console:
Unable to parse file Assets/NewBehaviourScript.cs.meta: [Parser Failure at line 13: Expect ':' between key and value within mapping]

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed with 2020.2.0a12

Comments (11)

  1. A98e09067c10f21ac1807ec8e6852cb5?d=mm

    napconline

    Jul 09, 2020 09:20

    Customer feedback helps companies understand the experiences and needs of their community. Here are several ways to collect your customers
    http://napconline.org/

  2. A98e09067c10f21ac1807ec8e6852cb5?d=mm

    napconline

    Jul 09, 2020 07:06

    Customer feedback helps companies understand the experiences and needs of their community. Here are several ways to collect your customers
    http://napconline.org/

  3. 3f235e284a7c1069abf3dc5e54222670?d=mm

    Anthony34w

    Jun 20, 2020 10:53

    Kroger Pay Stub is the online Kroger employee salary portal for the authorized associates and registered employees working for Kroger.
    http://greatpeoplemez.com/kroger-pay-stub/

  4. Defc56b855d192868b4ec08933595ad8?d=mm

    Jeckshunter11

    Jun 20, 2020 04:41

    The sweepstakes is open just to legitimate U.S. occupants in any event 18 years old or more established at time of entry.Hardee's Guest Survey Guide
    https://herrymice7.livejournal.com/363.html

  5. A5cafe7fbcdd85113c43831b692fdb5c?d=mm

    surveyin12

    Jun 19, 2020 10:07

    The overview is about the clients see on the nature of food, generally speaking fulfilment and different administrations gave by the store. Your input is significant as it causes the chain to improve their administrations and meet the client's desires and needs.
    https://herrymice7.wixsite.com/website/post/moe-s-southwest-grill-guest-review-survey

  6. E11e29337e178b9bed670482f92b0b9f?d=mm

    Orevajikan

    Jun 18, 2020 11:05

    Just received your new Discover Credit Card website :https://cardactivationtech.com/

  7. 6859d933f56bc90f717669c24090a157?d=mm

    Austin44w

    Jun 18, 2020 11:00

    In Kroger Pay Stub Online Portal, the registered employees and associates of the company can view and print their pay stubs for the selected period of timeframe.
    http://greatpeoplemez.com/kroger-pay-stub/

  8. E11e29337e178b9bed670482f92b0b9f?d=mm

    Orevajikan

    Jun 18, 2020 03:43

    Mahila Kisan Sashaktikaran Pariyojana http://pradhanmantri-yojana.in/

  9. 6859d933f56bc90f717669c24090a157?d=mm

    Austin44w

    Jun 17, 2020 04:21

    New Leaf Customer Review Survey is a magnificent open door for the regarded purchasers of New Leaf Community Markets to give reasonable criticism utilising New Leaf Survey about the quality and administrations notwithstanding achieving astounding offer that is Validation Code To Redeem.
    https://guestsurvey.blogspot.com/2020/06/new-leaf-customer-review-survey.html?fbclid=IwAR1dC7qcwTOROsft6RMPPYiMA8V42JGmZe1nRINKqYyyNFF47-UTmlfFHRU

  10. 428404f48972ec0efee6294c49d972f6?d=mm

    michlaw

    Jan 28, 2020 07:29

    Thanks for the post and nice to see this here. You explained in a detailed way. Get more about the best apps here. https://www.turnpdf.com

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.