Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

'Ignoring asset refresh' warnings in console

Discussion in '2019.3 Beta' started by liortal, Dec 6, 2019.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    i am on 2019.3f1, whenever i recompile my scripts i get a ton of these warnings:
    upload_2019-12-6_17-14-14.png
     
  2. moldywarpe

    moldywarpe

    Joined:
    Jan 18, 2017
    Posts:
    31
    I am also getting these warnings after updating from 2019.1.6f1 to 2019.3.0f6...
    Anyone got any further info on this?
     
  3. moldywarpe

    moldywarpe

    Joined:
    Jan 18, 2017
    Posts:
    31
    Attempting to export my assets also caused multiple ArgumentException: Invalid path exceptions and prevented export.

    Stacktrace:
    ArgumentException: Invalid path
    at System.IO.Path.GetDirectoryName (System.String path) [0x0000d] in <437ba245d8404784b9fbab9b439ac908>:0
    at UnityEditor.PackageExportTreeView+PackageExportTreeViewDataSource.FetchData () [0x00095] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () [0x00008] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () [0x00007] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.PackageExportTreeView..ctor (UnityEditor.PackageExport packageExport, UnityEditor.IMGUI.Controls.TreeViewState treeViewState, UnityEngine.Rect startRect) [0x00056] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.PackageExport.TreeViewArea (System.Boolean showLoadingScreen) [0x00075] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.PackageExport.OnGUI () [0x00057] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <437ba245d8404784b9fbab9b439ac908>:0
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    at UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) [0x0068a] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) [0x00020] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.UIRRepaintUpdater.Update () [0x00033] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) [0x0001e] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.Panel.UpdateForRepaint () [0x00035] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) [0x00060] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) [0x00023] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) [0x0003d] in <a6a3aac9b47844afbb8dcc407683ae01>:0
    at UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) [0x0000d] in <59837000ebf54955a9cb1d31caa86097>:0
    (Filename: <437ba245d8404784b9fbab9b439ac908> Line: 0)

    To resolve I had to select individual assets and attempt to export. If I didn't receive an exception I cancelled and tried the next asset. I eventually identified the cause(?) as the scenes within the Assets/Oculus/VR/scenes and Assets/Oculus/VR/Editor/scenes folders.
    I attempted to reimport these but no luck so I deleted these folders and could now export my assets. This also resolved the initial: Warning related to Ignoring asset refresh of <..>

    Problem resolved but would still like some feedback from a mod perhaps as to what has caused this.....
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,106
    It would be great if you could share a reproducible or the affected project with us in a bug report (ideally a working project that breaks on upgrade).