System Information
Operating system: Linux-5.3.0-42-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 780 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21
Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4
Worked: (optional)
Short description of error
On Linux systems, cryptomatte layers get corrupted if certain other passes are activated.
Exact steps for others to reproduce the error
Unpack the provided zip file.
Open 'cryptomatte_bug_scene.blend' from the provided archive on a linux machine.
For comparison:
The provided render settings will produce a clean EXR file on 'Render Animation' (like the one already provided and opened in the Compositor/Viewer).
To recreate the error:
Activate the following render passes:
Vector, Normal,
Diffuse (Direct, Indirect, Color)
Glossy (Direct, Indirect, Color)
Transmission (Direct, Indirect, Color)
Subsurface (Direct, Indirect, Color)
Upon hitting 'Render Animation' and reloading the image in the Compositor, the replaced EXR will show corrupted Cryptomattes.
This happens with various combinations of passes. Activating all of the passes above guarantees the error.
Bug seems to be not present in Windows builds. Tested on other ubuntu-based systems with different graphics cards as well.