The problemĮverything actually compiles just fine! using UnityEngine
Where UnityBasePath is: /Applications/Unity/Hub/Editor/2019.3.14f1/Unity.app/Contents/Managed/.
$(UnityBasePath)UnityEngine/UnityEngine.dll Then, as instructed in the documentation on plugins, I am referencing the DLLs: NET as the autogenerated C# project in one of my Unity projects: v4.7.1 In my C# project I am setting the same target. I am creating a class library which needs to reference Unity-specific types like GameObject for example.