Page MenuHome

Baking to vertex colours does not respect the active layer (blender 3.2 and 3.3)
Closed, ArchivedPublic

Description

System Information
Operating system: Windows 10
Graphics card: RTX 3080

Blender Version
Broken: 3.2 (https://developer.blender.org/diffusion/B/history/v32/;aee8e4903146) 3.3 (https://developer.blender.org/diffusion/B/history/master/;98a04ed45242)
Worked: 3.1.2

Short description of error
When using a bake target of "Color attributes", the active layer (as defined by the object data properties pane) is not used as the target and will remain unchanged.

Exact steps for others to reproduce the error
Create a cube and a material for the cube.
Create two vertex colour layers, name the second to "Target".
Connect the "Col" layer to the "Surface" output in the shader material.
Paint on the "Col" layer some recognisable colour, e.g. red.
Select the "Target" layer in the object data properties panel so that it becomes the active layer.
Go to render properties, set the engine to Cycles, set the bake target to "Color attributes", and bake.
Observe that the "Target" layer is unchanged (either change the material or use solid mode render attribute mode).

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.May 9 2022, 9:29 AM

Cannot reproduce here

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.34.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 495.44
version: 3.3.0 Alpha, branch: master, commit date: 2022-05-09 06:21, hash: `rBb96cdbcf7aac`


Does it not work for in this file?
Does it work after switching the active vertex color back and forth?

If it works in above file, but you have another example where it fails, please share that example .blend file.

Philipp Oeser (lichtwerk) closed this task as Archived.May 23 2022, 9:20 AM

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.