Search Unity

The associated script can not be loaded. How to debug it?

Discussion in 'Editor & General Support' started by wangxiang_tangiplay, Jul 13, 2019.

  1. wangxiang_tangiplay

    wangxiang_tangiplay

    Joined:
    Nov 2, 2018
    Posts:
    4
    I have a MonoBehehavior script and have passed compile in Visual Studio, but I still get the error in Inspector, how can I debug this issue?

    upload_2019-7-13_18-26-44.png

    upload_2019-7-13_18-31-11.png
     
  2. wangxiang_tangiplay

    wangxiang_tangiplay

    Joined:
    Nov 2, 2018
    Posts:
    4
    I have found the problem, it is because of filename 'MaAnimation' not match class name 'MAAnimation'