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

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