Page MenuHome

UDIMs: Loss of texture information after saving.
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.14393-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.82 (sub 5), branch: master, commit date: 2019-12-16 15:39, hash: rB043cac5d20e2
Worked: (optional)

Short description of error
If you save the Blend file then reopen it you'll lose the texture information, it will crash if you try to paint unless you redo the process.

Exact steps for others to reproduce the error

  • Add a Monkey.
    • Add an image texture to the material.
    • Make 3 UDIMs for each part.
    • Save the File.
    • Reopen the File.

[Based on the default startup or an attached .blend file (as simple as possible)]

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to High.Dec 17 2019, 12:07 PM

Can confirm a couple of issues:

  • filling a tile with a generated image is not kept after save/reload [afaict UDIM is supposed to work with saved images, so that is probably only a minor issue -- even though non-UDIM images at least keep the fact that they are filled with a generated image... not sure this is really a bug...]
  • trying to paint on a tiled image [that is not loaded nor filled with a generated image] will crash/assert

But there are more issues [might open separate reports for this though]:

  • filling a second (or third) tile with a generated image before you fill the first tile wont actually fill the tile... you have to fill the first tile to actually see anything...

  • painting on a tiled image will not update the 3DView properly in Solid viewport shading which is set to Texture Color (Material Preview is fine though when set to Texture Color)

@Lukas Stockner (lukasstockner97) : mind having a look? Do you prefer to have separate reports opened for the last two issues?

  1. is expected - generated images store the generation parameters and have source set to Generated instead of File, but an equivalent does not exist for tiles. Until packing is supported, you'll have to save the image to disk to keep it between reloads.
  2. definitely is a bug.
  3. is also expected, but should be communicated better, probably by disabling the tile operators until the first tile is filled
  4. also sounds like a bug, even though I remember this working from working on D6421, I'll need to have a look.

I think splitting 3 and 4 off into separate bugs makes sense, yes.