Search Unity

Error assigning 2D texture to 2DArray texture property 'unity_ShadowMasks': Dimensions must match

Discussion in 'Universal Render Pipeline' started by Jihaysse, Jan 10, 2022.

  1. Jihaysse

    Jihaysse

    Joined:
    Mar 29, 2020
    Posts:
    53
    Hello everyone,

    I keep getting this error and I have no idea where it comes from:
    Error assigning 2D texture to 2DArray texture property 'unity_ShadowMasks': Dimensions must match
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    It happens whenever I instantiate (at runtime) or place in the scene (editor time). It doesn't bother me during editor time, but it's obviously more disturbing during runtime.

    I already tried:
    • Changing shaders/materials/textures

    I'm using Unity 2020.3.25f1 with URP 10.7.0.

    Can someone experienced with URP help me on this one?

    Thank you for your time, I really appreciate it.

    Kind regards
     
  2. Jihaysse

    Jihaysse

    Joined:
    Mar 29, 2020
    Posts:
    53
  3. TruAmbition

    TruAmbition

    Joined:
    Feb 25, 2018
    Posts:
    4
    Hey @Jihaysse, did you ever get this resolved? I just ran into this issue and I'm concerned I deleted something in my private assets when pushing to PCM.