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

Post Processing Error

Discussion in 'Editor & General Support' started by sturentzler, Aug 15, 2019.

  1. sturentzler

    sturentzler

    Joined:
    Jan 8, 2017
    Posts:
    14
    Hi,

    All my previous projects are today getting the following errors:

    Library\PackageCache\com.unity.postprocessing@2.1.7\PostProcessing\Runtime\PostProcessLayer.cs(94,16): error CS0246: The type or namespace name 'TemporalAntialiasing' could not be found (are you missing a using directive or an assembly reference?)


    Library\PackageCache\com.unity.postprocessing@2.1.7\PostProcessing\Runtime\PostProcessRenderContext.cs(223,16): error CS0246: The type or namespace name 'TemporalAntialiasing' could not be found (are you missing a using directive or an assembly reference?)

    I tried the following and still doesn't work:
    1. Uninstall and reinstall Post Processing Package via the Windows>Packages
    2. Start a new project and add Post Processing Package (immediately get the error)
    3. Uninstall Unity via the Hub vs 2019.1.11f (and 2019.1.14f) and make a new project (still get error)
    4. Install Unity 2019.2 and install the Post Processing Package via Windows>Packages and still get the same error.

    The only thing different on the computer is that last night I did a "Disk Clean" of only Temporary files.

    PC: Windows 10

    Help appreciated.
     
    BeginnersAhmad likes this.
  2. sturentzler

    sturentzler

    Joined:
    Jan 8, 2017
    Posts:
    14
    Additional testing:
    Still doesn't work with 2.1.7. Made a new project and used a previous version (2.1.6) and that worked (no error and post effects worked). Then tried to "upgrade" to 2.1.7 and the error came back.
     
  3. sturentzler

    sturentzler

    Joined:
    Jan 8, 2017
    Posts:
    14
    If this helps someone else in the future or it would be awesome if someone can elaborate upon to get the steps more precise, maybe all these steps aren't necessary:

    1. Removed all Unity installs from Unity Hub
    2. Removed Unity Hub
    3. Deleted folder: C:\Users\xxxxx/AppData\Local\Unity
    Deleted folder: C:\Users\xxxxx/AppData\LocalLow\Unity
    Deleted folder: C:\Users\xxxxx/AppData\Roaming\Unity
    4. Opened Regedit and searched for Unity and deleted the UnityHub entry.
    5. Rebooted
    6. Downloaded Unity Hub & installed it plus a Unity version.
    7. Made new project, added Post, and it worked
    8. Opened old project added post to it (had removed it when all of this failed before) and it worked.

    Was there a short cut to all of this besides not deleting temp files even though it reclaimed 100GB of room on my SSD?
     
  4. BeginnersAhmad

    BeginnersAhmad

    Joined:
    Dec 9, 2022
    Posts:
    1
    For some reason you were missing the TemporalAntialiasing script in the Library\PackageCache\com.unity.postprocessing@3.2.2\PostProcessing\Runtime\Effects path of your project. For anyone else who is facing the same issue go the Post Processing GitHub page https://github.com/Unity-Technologies/PostProcessing, download the TemporalAntialiasing script from https://github.com/Unity-Technologies/PostProcessing/tree/v2/PostProcessing/Runtime/Effects this location and paste it inside your Effects folder.
    Or download the entire Post Processing Folder from the repository and replace it with your own Post Processing Package as pasting a single file may cause several issues.
     
    Last edited: Feb 2, 2024