I recently upgraded to Unity 2019.2 from the last version of Unity 2018, and see that any of our classes that inherit from a UIBehaviour are no longer visible as a component to add, and that all references to them have broken. By selecting the DLL, I can see that they no longer show up as possible components, but others that do not inherit UIBehaviour do show up.
I believe I have properly added the Unity DLLs to our library project, seeing as everything compiles, but I theorize that's still the issue. In Unity 2018, you only needed UnityEngine (and UnityEditor for editor DLLs). In 2019, it appears you need a ton more. I couldn't find any recent documentation on the subject, so I eventually stumbled upon the "solution" myself.
I have referenced all DLLs from `C:\Program Files\Unity\Hub\Editor\2019.2.1f1\Editor\Data\Managed\UnityEngine` except for the Unity.Cecil dlls and Unity.Legacy.NRefactory.dll.
↧