Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Error reimporting shaders.

Discussion in 'FPS.Sample Game' started by lgraham04, May 3, 2019.

  1. lgraham04

    lgraham04

    Joined:
    Nov 1, 2018
    Posts:
    10
    Hello when I first startup the project and reimport the fpsprojection shaders. I get an error saying:
    Assertion failed on expression: 'success'
    UnityEditor.Experimental.AssetImporters.ScriptedImporter:GenerateAssetData(AssetImportContext)
    and also get another error saying this:Read only asset Packages/com.unity.cinemachine/package.json has no meta file.
    is there anyway to fix this?

    Thanks
     
  2. Aquastar

    Aquastar

    Joined:
    Jul 17, 2013
    Posts:
    29
    I didn't meet the first problem. Maybe you can reopen the project. Or try to invest the call hierarchy.
    I had the problem similar to the second one. You can remove the folder "com.unity.cinemachine" and then Unity would reimport it. Sometimes it works. Or change to another version of the package.
     
  3. lgraham04

    lgraham04

    Joined:
    Nov 1, 2018
    Posts:
    10
    Thanks for that fix. Hopefully someone else knows a fix for the other problem.

    Thanks