Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

2017.3.1p3

Issue ID

1044865

Regression

No

[Windows] Videos are rendered in different color spaces between Editor and Standalone player

Graphics - General

-

There appears to be a break in orthogonality between how videos are rendered to the screen when using linear color space and deferred rendering. When the video is rendered in editor User needs to use a material to convert to linear colorspace however, when the player is built the video appears over-brightened. This appears to be due to differences in the way videos render in editor vs standalone and the color space of their target buffer. Removing the material causes the movie to render correctly in the standalone player, but darkened in the editor. The behavior should not be different between the two. The User used Renderdoc to inspect the draw calls for both editor and standalone player and found that they have completely different render paths.

To reproduce:
1. Download attached project "linear movie bug.zip" and open in Unity
2. Open "main" scene
3. Enter Play mode
4. Observe that the video plays exactly as it would if it were played externally to Unity
5. Exit Play mode
6. Build and Run project
7. Run the build and observe that a video is over-brightened when comparing with Editor

Notes:
- This issue reproduces only on Windows
- On OSX this issue does not reproduce
- Issue images are in Comments section
- Removing the material causes the video to render correctly in the standalone player, but darkened in the editor
- Starting from Unity 2018.1.0a2 and newer in both Editor and Standalone player videos are rendered brighter than they should

Reproduced on Unity 2017.1.4f1, 2017.2.3p1, 2017.3.2f1, 2017.4.5f1 and 2018.1.0a1
Videos are brighter than they should on both Editor and Standalone player on Unity 2018.1.0a2, 2018.1.4f1, 2018.2.0b7 and 2018.3.0a1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.