Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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:
    3,074
    Yes, there is. Please submit a bug report :)