Describe the bug 💬
The constant "k_AlphaDstBlendPropId" defined on line 150 of Runtime/Scripts/UniformMaps/BaseGraphMap.cs contains the ID of the "_AlphaDstBlend" property, but the correct value is "_DstBlendAlpha."
static readonly int k_AlphaDstBlendPropId = Shader.PropertyToID("_AlphaDstBlend");
This constant is used to set a property value on line 190, but because the material name is incorrect, nothing is actually set.
material.SetFloat(k_AlphaDstBlendPropId, (int)BlendMode.OneMinusSrcAlpha);//10
I was previously using Unity 6000.1.17f1, but recently updated to 6000.3.2f1 and discovered a bug caused by this error.
I contacted Unity support, and it seems that the default value was changed due to some bug fix in Unity6000.3.0f1.
I currently set it up correctly myself later, but I would like it to be fixed.
Steps to reproduce 🔢
See the BaseGraphMap class in the UnityGLTF source code.
Files to reproduce the issue ♻
No response
Editor Version 🎲
Other (Provide details below)
Render Pipeline and version
URP 17.1.0
UnityGLTF Version
2.18.7
Operating System 👩💻
Windows
When does this problem happen?
Additional Info 📜
No response
Validations 🩹
Describe the bug 💬
The constant "k_AlphaDstBlendPropId" defined on line 150 of Runtime/Scripts/UniformMaps/BaseGraphMap.cs contains the ID of the "_AlphaDstBlend" property, but the correct value is "_DstBlendAlpha."
static readonly int k_AlphaDstBlendPropId = Shader.PropertyToID("_AlphaDstBlend");This constant is used to set a property value on line 190, but because the material name is incorrect, nothing is actually set.
material.SetFloat(k_AlphaDstBlendPropId, (int)BlendMode.OneMinusSrcAlpha);//10I was previously using Unity 6000.1.17f1, but recently updated to 6000.3.2f1 and discovered a bug caused by this error.
I contacted Unity support, and it seems that the default value was changed due to some bug fix in Unity6000.3.0f1.
I currently set it up correctly myself later, but I would like it to be fixed.
Steps to reproduce 🔢
See the BaseGraphMap class in the UnityGLTF source code.
Files to reproduce the issue ♻
No response
Editor Version 🎲
Other (Provide details below)
Render Pipeline and version
URP 17.1.0
UnityGLTF Version
2.18.7
Operating System 👩💻
Windows
When does this problem happen?
Additional Info 📜
No response
Validations 🩹