Skip to content

1.8.5 breaks the package #116

@Maelstromeous

Description

@Maelstromeous

Description of the bug

As of 1.8.5, for me at least, the package is broken because of this in CommandInputField.cs:

Line 231-231

if (visibleCommandSuggestionInstances > 0 && Pointer.current != null &&
                Pointer.current.press.wasPressedThisFrame)

Line 238

var pointerPosition = Pointer.current.position.ReadValue();

This is because the below import was removed:

using Pointer = UnityEngine.InputSystem.Pointer;

Causing error:

Ambiguous reference.
Candidates are:
    System.Reflection.Pointer
    UnityEngine.InputSystem.Pointer

Reintroducing the using Pointer resolves the issue. Please consider re-introducing or fixing the Pointer references!

Reproduction steps

  1. Download 1.8.5
  2. Watch Unity complain and not compile

Platform specs

Please provide the following info if this is a Unity 3D repository.

  • Unity version: 6000.4.4f1
  • Platform: Linux & Mac
  • How did you download the plugin: Package Manager

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions