Blender 3.2 stops recognizing UDIM texture files with specific file name. #99077

Open
opened 2022-06-22 04:26:49 +02:00 by Yutaka Fukumoto · 8 comments

System Information
Operating system: Windows 10 64 bit
Graphics card:NVIDIA RTX 2070

Blender Version
Broken: 3.2
Worked:3.1,2.93

Is this glitch or just a new way of handling UDIM files?
There are 2 png files with name "1111_11.1001.png" and "1111_11.1002.png" in a folder and If I load those files in Image Texture node, those files are imported as UDIM files, but If I put 2 other files with name "2111_11.1001.png" and "2111_11.1002.png" in the same folder, files "1111_11.1001.png" and "1111_11.1002.png" can be recognized as UDIM files. And "2111_11.1001.png" and "2111_11.1002.png" can't be loaded as UDIM too.

I found this because I always name textures with timestamp as "YYYY_MMDD_HHMMSS" format, like "2022_0622_152305" and file name "2022_" triggers this glitch. File with "2xxxx_" name can be recognized as UDIM in blender 3.1 and 2.93 but 3.2 can't handle these files. Why?

**System Information** Operating system: Windows 10 64 bit Graphics card:NVIDIA RTX 2070 **Blender Version** Broken: 3.2 Worked:3.1,2.93 Is this glitch or just a new way of handling UDIM files? There are 2 png files with name "1111_11.1001.png" and "1111_11.1002.png" in a folder and If I load those files in Image Texture node, those files are imported as UDIM files, but If I put 2 other files with name "2111_11.1001.png" and "2111_11.1002.png" in the same folder, files "1111_11.1001.png" and "1111_11.1002.png" can be recognized as UDIM files. And "2111_11.1001.png" and "2111_11.1002.png" can't be loaded as UDIM too. I found this because I always name textures with timestamp as "YYYY_MMDD_HHMMSS" format, like "2022_0622_152305" and file name "2022_" triggers this glitch. File with "2xxxx_" name can be recognized as UDIM in blender 3.1 and 2.93 but 3.2 can't handle these files. Why?

Added subscriber: @Zcyber

Added subscriber: @Zcyber

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

The behavior did change a bit between the versions as it now favors searching the beginning part of the filename first rather than start from the end and ends up confused in your case. To fix this issue, modify the image in the Image Editor like the example below:

  • Change Source to UDIM
  • Change the filename to include the exact position where the tokens should be placed.
    ex0.png

I'll look into improving this in the future.

The behavior did change a bit between the versions as it now favors searching the beginning part of the filename first rather than start from the end and ends up confused in your case. To fix this issue, modify the image in the Image Editor like the example below: - Change Source to UDIM - Change the filename to include the exact position where the <UDIM> tokens should be placed. ![ex0.png](https://archive.blender.org/developer/F13215030/ex0.png) I'll look into improving this in the future.

you said "it now favors searching the beginning part of the filename first", but your image's file name starts with 4 digits number. It will not be recognized as UDMI. My all files have timestamp "YYYY_MMDD_HHMMSS" , and blender 3.2 thinks it's UDIM tokens but they all have same UDIM tokens then blender can't load images, right?
Then what need to do is just remove timestamp. I need to rename all file names then.

you said "it now favors searching the beginning part of the filename first", but your image's file name starts with 4 digits number. It will not be recognized as UDMI. My all files have timestamp "YYYY_MMDD_HHMMSS" , and blender 3.2 thinks it's UDIM tokens but they all have same UDIM tokens then blender can't load images, right? Then what need to do is just remove timestamp. I need to rename all file names then.

Added subscriber: @Atair-1

Added subscriber: @Atair-1

this cant be right - any file with a ending like _1280 that usually indicates resolution, or as in the comment above - it might be a timestamp, get interpreted as udim?
And further fails to load in eevee / viewport - defaulting to the pink shader. Rendering in cycles, but only on the first run, if you change the type to single image and back to udim, it fails in cycles too

Basically we cant have any images like "myImage_1280.jpg" anymore - this does look like a critical bug..

this cant be right - any file with a ending like _1280 that usually indicates resolution, or as in the comment above - it might be a timestamp, get interpreted as udim? And further fails to load in eevee / viewport - defaulting to the pink shader. Rendering in cycles, but only on the first run, if you change the type to single image and back to udim, it fails in cycles too Basically we cant have any images like "myImage_1280.jpg" anymore - this does look like a critical bug..

@Atair-1 that problem is the reverse of the issue here. When loading an image that may have such 4digit numbers in them between 1001 and 2000, unselect the "Detect UDIMs" option in the Image load dialog (Open the properties settings; Gear icon in upper right). It will load the image as Single and continue to work correctly in both Eevee and Cycles. The option in that dialog will remain as you set it for the duration of the blender session as well.

@Atair-1 that problem is the reverse of the issue here. When loading an image that may have such 4digit numbers in them between 1001 and 2000, unselect the "Detect UDIMs" option in the Image load dialog (Open the properties settings; Gear icon in upper right). It will load the image as Single and continue to work correctly in both Eevee and Cycles. The option in that dialog will remain as you set it for the duration of the blender session as well.
Bastien Montagne added
Type
Known Issue
and removed
Type
Report
labels 2023-02-10 12:16:44 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#99077
No description provided.