InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

InputTestFixture is not accessible through package

Open Rene-Damm opened this issue 7 years ago • 5 comments

  1. Add input system package to project.
  2. Create a test assembly
  3. Try to reference Unity.InputSystem.Tests (might or might not show)
  4. Add a class to the test assembly that uses InputTestFixture
  5. Build is broken as InputTestFixture can't be found

Rene-Damm avatar Jan 04 '19 01:01 Rene-Damm

This seems to work for me.

jechter avatar Feb 20 '19 12:02 jechter

Fixed long time ago? @Rene-Damm

JiaUnity avatar Mar 28 '19 20:03 JiaUnity

Something may have landed in 2019.1 (or only 2019.2) that addresses this problem. I talked to the guys working on this some time ago and a solution was being worked on. Chances are it has happened by now. However, that solution required action on our side to make it work.

I think we shouldn't close this ticket until someone has gone in and verified that it indeed works with a public 2019.1 release and why.

Rene-Damm avatar Apr 03 '19 08:04 Rene-Damm

This exact issue doesn't occur anymore. Other related issue has already been filed separately. Closing.

JiaUnity avatar Apr 05 '19 23:04 JiaUnity

I'm having this exact issue, package does not show up in assembly explorer and references can't resolve. 2019.3.0f3 - package 1.0.0-preview

using UnityEngine.InputSystem;

    [TestFixture]
    public class BindingInputTest : InputTestFixture

image

image

image

builder-main avatar Dec 29 '19 20:12 builder-main