A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
It should be in your case l = main.GetComponent("Main").test()
I have the same problem. Have you found the solution?