Search Issue Tracker

Fixed in 2.3.4-preview-8

Votes

9

Found in [Package]

2.3.3

Issue ID

1152080

Regression

Yes

[Cinemachine] Assembly reference missing error on importing Cinemachine package

Package: Cinemachine

-

Steps To Reproduce:

1. Create a project
2. Window > Package Manager > Cinemachine > Install

Expected Result:

Cinemachine package is imported without any error and cine machine option appears in the menu.

Reproducible On:
2019.2.0b1

Not Reproducible On:
2019.2.0a14, 2019.3.0a2

Stack Trace:

Library/PackageCache/com.unity.cinemachine@2.3.3/Runtime/Behaviours/CinemachineStoryboard.cs(68,32): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

ADDITIONAL INFO:

This may be due to the extraction of UGUI to a built-in package in 2019.2.0b1- as we have observed the same issue with other packages/projects. In other cases, the issue was resolved by adding a reference to the UGUI package in the Asmdefs.

Comments (2)

  1. NKos

    May 13, 2019 09:56

    Hello!
    "the issue was resolved by adding a reference to the UGUI package in the Asmdefs"
    How do i do that?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.