InputSystem and Cinemachine packages missing assembly references to Unity.ugui

You’ll find these packages won’t work with your project in 2019.2.0b1

The package maintainers know about the issue (at least InputSystem people do). In the meantime, you can change the cached packages asmdef files to include the reference

For anyone getting missing class UI in namespace UnityEngine error when using these packages, below is the fix.

In %appdata%/local/unity/cache/packages/staging-packages.unity.com/com.unity.cinemachine@/Editor\Cinemachine.Editor.asmdef

in the “references” section add “Unity.ugui”

After that, uninstall then reinstall the cinemachine package from the package manager. Same for InputSystem.

The InputSystem project knows about it, found this bug report on github. Don’t know about the Cinemachine guys (or any other packages that did not update their dependencies to include the new Unity.ugui assembly) Add explicit dependencies to ugui, now that it is a package by jechter · Pull Request #603 · Unity-Technologies/InputSystem · GitHub

Hey Bud!

I ran into this problem yesterday! But this solution seems to have already been implemented by the DEVs? And Unityengine.Inputsystem still wont show up in Visual Studio… Has there been any further updates regarding this?

Thanks!

Did you try updating to latest unity version? Afraid i don’t have any other ideas

Unfortunately I have… The last option would be to try 2019.3 beta, but I’d prefer to wait for the true release for that. Thanks for your help tho

2019.3 is out of beta though. I’m confused why you’re not using that?

Oh really?? I just looked here: https://discussions.unity.com/t/768988

and it seems like it was releasing in January?

I see, strange. Maybe it’s mislabeled? But I have that installed. Try it.

This is indeed a bug in the Hub version that you’re using. Restart the Hub to update it and it will be displayed in the pre-release category.

1 Like