Search Unity

Bug Invalid Define Constraint: "UNITY_EDITOR && !UNITY_WEBGL"

Discussion in 'Editor & General Support' started by Thaina, Mar 23, 2022.

  1. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,166
    Using unity 2021.2.7f1

    I have made asmdef to constraint folder with define constant like this

    And it seem usable (and really usable normally as expect)

    upload_2022-3-23_16-4-0.png


    But there is this error sticking out for no reason

    upload_2022-3-23_16-5-39.png

    What have I did wrong?

    edit: It was gone after I had remove cache folders and restart unity again
     
    Last edited: Mar 23, 2022