Error: 'UIElements' does not exist in the namespace 'UnityEngine.Experimental'
When I import Unity Recorder from Window - > Package Manager it is throwing following errors:
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(4,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/Helpers/UIElementHelper.cs(4,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(4,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderItem.cs(4,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderItem.cs(5,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(8,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(9,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(5,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(6,32): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEngine.Experimental' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderClip.cs(6,19): error CS0234: The type or namespace name 'Timeline' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderClipEditor.cs(5,19): error CS0234: The type or namespace name 'Timeline' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderTrack.cs(2,19): error CS0234: The type or namespace name 'Timeline' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderItem.cs(10,26): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/Helpers/UIElementHelper.cs(10,38): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/Helpers/UIElementHelper.cs(19,45): error CS0246: The type or namespace name 'Toggle' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/Helpers/UIElementHelper.cs(28,45): error CS0246: The type or namespace name 'Toggle' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(8,27): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(10,31): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(8,27): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(10,55): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(52,26): error CS0246: The type or namespace name 'MouseDownEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(100,35): error CS0246: The type or namespace name 'FocusOutEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(69,26): error CS0246: The type or namespace name 'MouseMoveEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(105,30): error CS0246: The type or namespace name 'KeyUpEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderItem.cs(16,18): error CS0246: The type or namespace name 'Toggle' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(121,24): error CS0246: The type or namespace name 'MouseUpEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(84,24): error CS0246: The type or namespace name 'MouseUpEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(98,30): error CS0115: 'PanelSplitter.OnPersistentDataReady()': no suitable method found to override
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(10,18): error CS0246: The type or namespace name 'Label' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(38,30): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(140,30): error CS0246: The type or namespace name 'MouseDownEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(11,18): error CS0246: The type or namespace name 'TextField' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/PanelSplitter.cs(10,18): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(167,28): error CS0246: The type or namespace name 'MouseUpEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(184,30): error CS0115: 'VisualListItem<T>.OnPersistentDataReady()': no suitable method found to override
Assets/Unity Recorder/Editor/Sources/EditableLabel.cs(16,9): error CS0246: The type or namespace name 'Focusable' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/VisualListItem.cs(43,18): error CS0246: The type or namespace name 'ScrollView' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(487,44): error CS0246: The type or namespace name 'ValidateCommandEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(492,43): error CS0246: The type or namespace name 'ExecuteCommandEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(510,42): error CS0246: The type or namespace name 'EventBase' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(521,41): error CS0246: The type or namespace name 'EventBase' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderClip.cs(11,48): error CS0246: The type or namespace name 'ITimelineClipAsset' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(543,34): error CS0246: The type or namespace name 'KeyUpEvent' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderClip.cs(27,16): error CS0246: The type or namespace name 'ClipCaps' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(75,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(76,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(80,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderClipEditor.cs(158,9): error CS0246: The type or namespace name 'TimelineAsset' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(81,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderClipEditor.cs(14,9): error CS0246: The type or namespace name 'TimelineAsset' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(83,9): error CS0246: The type or namespace name 'Button' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderTrack.cs(9,34): error CS0246: The type or namespace name 'TrackAsset' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(84,9): error CS0246: The type or namespace name 'Button' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(87,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(89,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderTrack.cs(7,6): error CS0246: The type or namespace name 'TrackClipTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderTrack.cs(7,6): error CS0246: The type or namespace name 'TrackClipType' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderTrack.cs(8,6): error CS0246: The type or namespace name 'TrackColorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Timeline/RecorderTrack.cs(8,6): error CS0246: The type or namespace name 'TrackColor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(90,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(91,9): error CS0246: The type or namespace name 'VisualElement' could not be found (are you missing a using directive or an assembly reference?)
Assets/Unity Recorder/Editor/Sources/RecorderWindow.cs(69,15): error CS0311: The type 'UnityEditor.Recorder.RecorderItem' cannot be used as type parameter 'T' in the generic type or method 'VisualListItem<T>'. There is no implicit reference conversion from 'UnityEditor.Recorder.RecorderItem' to 'VisualElement'.
To fix this:
Delete Unity Recorder folder from Assets folder.
Open <Your Project Folder> -> Packages -> manifest.json then add recorder package to dependencies list (in other words copy paste following):
"com.unity.recorder": "2.3.0-preview.3"
Comments