Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.37f1
2022.3.26f1
6000.0.0f1
Issue ID
UUM-71797
Regression
No
The Property's reference does not default to "_MainTex" when creating a new Texture2D Property in a ShaderGraph
Reproduction steps:
1. Open the “IN-73972.zip” Project
2. Open the “MainTex” Shader in Assets > Shaders
3. Create a new Texture2D Property ( + > Texture2D in the Blackboard window)
4. Observe the Property’s Node Settings in the Graph Inspector
Expected result: The Reference is automatically set to “_MainTex”
Actual result: The Reference is set to “_Texture2D”
Reproducible with: 2021.3.37f1, 2022.3.26f1, 6000.0.0f1
Reproducible on: Windows 10 (by reporter), Windows 11
Not reproducible on: No other environment tested
Note:
- There is a lack of documentation saying that “_MainTex” is required for the texture to work correctly
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note:
We won't address this issue as a bug in the way that's been described. We are looking at how we can generally improve the way that material property attributes are managed. This will include things like MainTexture, MainColor, and the others that are available.