Skip to main content
New Participant
February 11, 2015

MonoBehaviour.OnRenderImage

Hi!

I've attached a behavior scripts to the right and left cameras of the OVRCameraRig. That script define OnRenderImage to be able to generate a post-effect on each eyes.

Everything is OK (post-effect) when I run the game in the editor.

But, when I build then run the game I don't see the post-effect. It's seem the build system disable any calls to OnRenderImage?

Any ideas?

Thanks!
    This topic has been closed for replies.

    3 replies

    Inspiring
    February 11, 2015
    Post effects should be supported. Can you tell me what OS and API version and Unity version you are using?

    What are the inputs or shaders that are used with the effect?

    Also, also chance you can share a bare-bones example project that shows the issue?
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    New Participant
    February 12, 2015
    Thanks for the Reply.

    Yes, the MonoBehaviour.OnRenderImage is working fine.

    My issue with MonoBehaviour.OnRenderImage was related to a scripting bug.

    Thanks again
    Inspiring
    February 13, 2015
    Ah, OK. Thanks for following up.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV