You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UIEffectCapturedImage use serializedObject.FindProperty("m_Color"),but should use serializedObject.FindProperty("m_EffectColor"), so color mode is error.
and if you multiple clicks captures button. Maybe show an error :
Setting mipmap mode of already created render texture is not supported!UnityEngine.RenderTexture:set_useMipMap()Coffee.UIExtensions.UIEffectCapturedImage:Capture() (at Assets/Coffee/UIExtensions/UIEffect/Scripts/UIEffectCapturedImage.cs:346)UnityEditor.EditorApplication:Internal_CallDelayFunctions()
I modified the code to solve this problem.
void _Release(ref RenderTexture obj)
{
if (obj)
{
obj.Release();//my Add
RenderTexture.ReleaseTemporary (obj);
obj = null;
}
}
The text was updated successfully, but these errors were encountered:
mob-sakai
changed the title
Happy New Year ! UIEffectCapturedImage effectColor maybe have a bug.
UIEffectCapturedImage.effectColor does not work as expected
Feb 15, 2019
UIEffectCapturedImage use serializedObject.FindProperty("m_Color"),but should use serializedObject.FindProperty("m_EffectColor"), so color mode is error.
and if you multiple clicks captures button. Maybe show an error :
Setting mipmap mode of already created render texture is not supported!UnityEngine.RenderTexture:set_useMipMap()Coffee.UIExtensions.UIEffectCapturedImage:Capture() (at Assets/Coffee/UIExtensions/UIEffect/Scripts/UIEffectCapturedImage.cs:346)UnityEditor.EditorApplication:Internal_CallDelayFunctions()
I modified the code to solve this problem.
void _Release(ref RenderTexture obj)
{
if (obj)
{
obj.Release();//my Add
RenderTexture.ReleaseTemporary (obj);
obj = null;
}
}
The text was updated successfully, but these errors were encountered: