Search Unity

How do I fix this error?

Discussion in 'Package Manager' started by Ash249, Jan 11, 2021.

  1. Ash249

    Ash249

    Joined:
    Jan 11, 2021
    Posts:
    2
    In the console there is an error titled

    The .meta file Packages/com.unity.timeline/Editor/StyleSheets/Images/Shared/TimelineWarning.png.meta does not have a valid GUID and its corresponding Asset file will be ignored. If this file is not malformed, please add a GUID, or delete the .meta file and it will be recreated correctly

    I have tried deleting the packages but they immediately come back before I re import them
    Any help would be appreciated
     
  2. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Hey there,

    Can you try deleting that meta file and then reopen Unity? It should auto generate one that works...
     
    jankato and angelonit like this.
  3. Ash249

    Ash249

    Joined:
    Jan 11, 2021
    Posts:
    2
    Thanks!
     
  4. UnityMaru

    UnityMaru

    Community Engagement Manager PSM

    Joined:
    Mar 16, 2016
    Posts:
    1,227
    Did it work?
     
  5. Lakithi

    Lakithi

    Joined:
    Feb 16, 2021
    Posts:
    1
    Hey. Where do You find the .meta file?
     
  6. rayith

    rayith

    Joined:
    Jan 7, 2016
    Posts:
    1
    Edit > Project Settings > Editor > Versions Control, Mode : Visible Meta Files.
     
  7. angelonit

    angelonit

    Joined:
    Mar 5, 2013
    Posts:
    40
    It worked for me! (Didn't even need to restart unity!)
     
  8. UnsightlyMass2

    UnsightlyMass2

    Joined:
    Jun 30, 2022
    Posts:
    1
    I dont know where to delete the file from there it does nothing, please help me ASAP
     
  9. angelonit

    angelonit

    Joined:
    Mar 5, 2013
    Posts:
    40
    The error should tell you what folder it is in, go there in windows explorer with the right click
     

    Attached Files:

  10. tmarlok

    tmarlok

    Joined:
    Feb 24, 2020
    Posts:
    6
    Hi All, I have a similar problem and could not solve it with the ideas above. I need help.

    My problem is the following: I cannot install XR Plugin management, I got many(55/148) of these errors:"

    The .meta file Packages/https://com.unity.xr.management/.../Unity.XR.TestSupport... does not have a valid GUID and its corresponding Asset file will be ignored. If this file is not malformed, please add a GUID, or delete the .meta file and it will be recreated correctly"

    What I'm done so far (checked many forum posts):
    - tried to install XRPM from the project settings page and from the package manager too
    - tried to delete meta files, bulk, and one by one
    - added full access to the PackageCache folder
    - checked firewall rules
    - deleted the whole Library folder (at every try)
    - deleted the XR loader assets (when I somehow got there)
    - deleted the package-lock json
    - tried the "Help/Reset packages to defaults" menu in Editor

    I started with a fresh new VR template:
    - Win11
    - Unity 2021.3.8f1
    - XR Plugin Management 4.2.1

    I'm totally lost. Please help.

    Thank you in advance!
    Tamas (tas977)
     
  11. tmarlok

    tmarlok

    Joined:
    Feb 24, 2020
    Posts:
    6
    [SOLVED]
    Based on the log file documentation below, I've found another Cache folder with npm and packages folders inside of it.
    I deleted these folders and now it's working nicely! (I also deleted the project's Library folder)

    Unity - Manual: Log files (unity3d.com)
    my folder was here: c:\Users\{myusername}\AppData\Local\Unity\cache

    Best, T

     
    Purplestuffhere1 and menamarth like this.
  12. menamarth

    menamarth

    Joined:
    Feb 9, 2014
    Posts:
    1
    This solved it for me. Thanks for sharing!