Search Unity

Color picker not displaying correctly

Discussion in 'Editor & General Support' started by ryanlin138, Feb 4, 2021.

  1. ryanlin138

    ryanlin138

    Joined:
    Aug 28, 2019
    Posts:
    6
    I'm having a problem where the Editor doesn't display the color picker correctly in the vfx graph. I've been having this problem for some time now, and I can't color my effect correctly because of this. I'm also using the Universal Render Pipeline with both Shader Graph and VFX Graph installed (and some others).

    My symptoms listed below:
    1. Color gradient box is really small
    2. Intensity buttons don't show up
    3. Labels for intensity buttons are squished together.
    Screenshot:


    Error Messages in the Console:

    Code (CSharp):
    1. Unable to find style 'ColorPickerOriginalColor' in skin 'GameSkin' mouseUp
    2. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    3.  
    4. Unable to find style 'ColorPickerCurrentColor' in skin 'GameSkin' mouseUp
    5. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    6.  
    7. Unable to find style 'ColorPicker2DThumb' in skin 'GameSkin' mouseUp
    8. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    9.  
    10. Unable to find style 'ColorPickerHueRing' in skin 'GameSkin' mouseUp
    11. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    12.  
    13. Unable to find style 'ColorPickerHueRing HDR' in skin 'GameSkin' mouseUp
    14. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    15.  
    16. Unable to find style 'ColorPickerHueRingThumb' in skin 'GameSkin' mouseUp
    17. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    18.  
    19. Unable to find style 'ColorPickerSliderBackground' in skin 'GameSkin' mouseUp
    20. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    21.  
    22. Unable to find style 'ColorPickerBackground' in skin 'GameSkin' mouseUp
    23. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    24.  
    25. Unable to find style 'ColorPickerExposureSwatch' in skin 'GameSkin' mouseUp
    26. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    27.  
    28. Unable to find style 'ColorPickerCurrentExposureSwatchBorder' in skin 'GameSkin' mouseUp
    29. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    30.  
    31. Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
    32.  
    33. Internal: deleting an allocation that is older than its permitted lifetime of 4 frames (age = 5)
    34.  
     

    Attached Files:

  2. royalnobody

    royalnobody

    Joined:
    Feb 26, 2019
    Posts:
    1
    I had the same problem and fixed it by updating the Visual Effects Graph in the package manager.
     
    ryanlin138 likes this.
  3. ravendevil1967

    ravendevil1967

    Joined:
    Jan 9, 2015
    Posts:
    7
    Having same issue....
     
  4. raaan127

    raaan127

    Joined:
    Dec 9, 2019
    Posts:
    31
    I;m experiencing the same issue! Still dont know what caused it. Other projects seem to be normal
     
  5. raaan127

    raaan127

    Joined:
    Dec 9, 2019
    Posts:
    31
    Update Visual Effect Graph package then restart Unity and my Color picker is appearing normal again
     
  6. bartuq

    bartuq

    Joined:
    Sep 26, 2016
    Posts:
    127
    I have the same issue. It started today (2022.3.0f1) while using Visual Effect Graph (14.0.8). Then I updated Unity to 2022.3.2f1. Nothing has changed. I can't use the color picker in the entire Unity Editor. Please help.

    EDIT: Everything back to normal after deleting the Output Particle Node with the bugged color field.

    EDIT 2: it's back again... unable to use VFX Graph.
     
    Last edited: Jun 14, 2023
  7. DarthSal

    DarthSal

    Joined:
    May 17, 2015
    Posts:
    3
    I had this same issue and found this solution else where and it worked for me.
    1. "Mouse Click" at the color selection area on the color node.
    2. "esc" + "space"
     
  8. zankenpon

    zankenpon

    Joined:
    Feb 27, 2019
    Posts:
    3
    on the latest version but not working. i guess thats because im in the older version of unity