OpenColorIO In-Game bug

Hi everyone,

I’d like to use OpenColorIO (OCIO) for color management. It works as expected in the viewport and likely functions correctly in the Movie Render Queue as well (though I haven’t tested that yet, as I don’t need it at the moment).

However, I’ve encountered an issue when trying to use it in in-game or Play in Editor (PIE) mode. Specifically, it works initially but gets disabled after approximately 50 seconds (anywhere between 0-60 seconds, to be honest).

Has anyone experienced a similar issue with OCIO? Could it be related to the plugin itself, or possibly an engine bug?

For context, I’m using the Create In-Game OpenColorIO Display Extension node and attaching it to the Event BeginPlay. I’ve also tried removing and re-adding it periodically, but the same thing happens.

Thanks in advance for your help!

1 Like

So, I figured it out…

The OCIO Display Extension gets destroyed by the garbage collector.

Solution: To prevent this, we need to store it in a variable:

  1. Create a new variable of type OpenColorIO Display Extension Wrapper.

  2. Initialize the OCIO Display Extension and assign it to this variable.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.