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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Asset Importer Invalid Cast Exception

Discussion in 'Editor & General Support' started by riek100, Oct 15, 2022.

  1. riek100

    riek100

    Joined:
    Sep 16, 2018
    Posts:
    11
    I keep getting an error anytime I run a Unity scene (empty or not) that states the following:

    InvalidCastException: Specified cast is not valid.
    UnityEditor.AssetImporters.AssetImporterEditor.InitializePostprocessors () (at <44a70d1b13cf47e29810e30f45ffae08>:0)
    UnityEditor.AssetImporters.AssetImporterEditor.OnEnable () (at <44a70d1b13cf47e29810e30f45ffae08>:0)
    UnityEditor.AssetImporterTabbedEditor.OnEnable () (at <44a70d1b13cf47e29810e30f45ffae08>:0)
    UnityEditor.ModelImporterEditor.OnEnable () (at <44a70d1b13cf47e29810e30f45ffae08>:0)

    I'm not sure what the asset importer is nor the post processor, how would I resolve this issue?
     
  2. Ivan_dta

    Ivan_dta

    Joined:
    Jun 26, 2022
    Posts:
    1
    I get the same problem too!
    Do you figure it out?