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.

Question Custom Post Process Stack v2 Effect is broken by High "Managed Stripping Level " on Android builds.

Discussion in 'Image Effects' started by MonkDeniz, Aug 4, 2020.

  1. MonkDeniz

    MonkDeniz

    Joined:
    Nov 1, 2018
    Posts:
    5
    I experimented with the default grayscale example. While it works in the editor, it breaks the camera rendering on an IL2CPP Android build. Specifically, the logs have an error where the GrayscaleRenderer is missing the default constructor, and adding a constructor does not help.
    MissingMethodException: Default constructor not found for type GrayscaleRenderer


    I've found that I can solve the problem by lowering the stripping level to "Low". But I'm curious if there's another way to solve the issue while keeping stripping high, or if somebody else encountered it before.
     

    Attached Files:

  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,890
    Yes, there is. Please submit a bug report :)